* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --parc-font-body: "Inter", sans-serif;
  --parc-font-heading: "Inter", sans-serif;
  --parc-bg: #f0f4f9;
  --parc-text: #1a2c3e;
  --parc-accent: #c44536;
  --parc-accent-dim: #e85a4a;
  --parc-accent-rgb: 196, 69, 54;
  --parc-accent-dim-rgb: 232, 90, 74;
  /* Fundal butoane „outline” fără rgba(var()) — compatibilitate + vizibilitate */
  --parc-btn-muted-top: rgba(232, 90, 74, 0.55);
  --parc-btn-muted-bottom: rgba(196, 69, 54, 0.38);
  --parc-btn-muted-card-top: rgba(232, 90, 74, 0.48);
  --parc-btn-muted-card-bottom: rgba(196, 69, 54, 0.32);
  --parc-btn-outline-border: rgba(196, 69, 54, 0.42);
  --parc-dark: #0e1a24;
  --parc-footer-1: #0f1c28;
  --parc-footer-2: #0a141e;
  --parc-footer-3: #0e1a24;
}

body {
  font-family: var(--parc-font-body);
  background: var(--parc-bg);
  color: var(--parc-text);
  scroll-behavior: smooth;
}

.logo-text h1,
.logo-text .parc-logo-heading,
.footer-site-title,
.hero-text h2,
.car-title {
  font-family: var(--parc-font-heading);
}

.parc-accent-link {
  color: #c44536;
  color: var(--parc-accent);
  font-weight: 600;
}

.parc-accent-link:visited {
  color: #c44536;
  color: var(--parc-accent);
}

.hero-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  transition: opacity 0.4s ease-out;
}

.hero-bg-wrapper.fade-out {
  opacity: 0;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.hero-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.92) contrast(1.02);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--parc-bg);
  z-index: -3;
}

.glass-card,
.main-header,
.search-card,
.car-card,
.chip,
.filter-panel {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header + buyback împreună; sticky ține până iese părintele (hero-page pe index, body pe detail) */
.site-header-sticky {
  position: sticky;
  top: 20px;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  margin: 20px 0 0;
}

.main-header {
  --header-pad-y: 5px;
  --header-pad-x: 22px;
  /* înălțime logo = înălțime rând conținut (total bară neschimbat: 5+52+5 = 62px ca înainte) */
  --header-row-h: 52px;
  /* 2 × 1.15 = 2.3 față de baza inițială la scară 2 */
  --logo-visual-scale: 2.3;
  position: relative;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.4);
  box-sizing: border-box;
  overflow: visible;
  /* Peste bara buyback (frate în DOM), ca dropdown-ul Politici să nu fie acoperit de textul derulant */
  z-index: 3;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: var(--header-pad-y) var(--header-pad-x);
  min-height: calc(var(--header-row-h) + 2 * var(--header-pad-y));
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

/* Bară buyback sub header: aceeași lățime ca .main-header, text derulant */
.buyback-ticker {
  width: min(1280px, calc(100% - 48px));
  margin: 8px auto 0;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.buyback-ticker__mask {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.buyback-ticker__track {
  display: flex;
  width: max-content;
  animation: buyback-marquee 32s linear infinite;
  will-change: transform;
}

.buyback-ticker__text {
  flex-shrink: 0;
  padding: 0 3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parc-accent);
  white-space: nowrap;
}

@keyframes buyback-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .buyback-ticker__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .buyback-ticker__text {
    white-space: normal;
    text-align: center;
    padding: 0 1rem;
  }

  .buyback-ticker__text[aria-hidden="true"] {
    display: none;
  }
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.logo-text {
  flex-shrink: 1;
  min-width: 0;
  align-self: center;
}

/* Desktop / tablet lat: titlul aproape de logo, ușor aerisit */
@media (min-width: 901px) {
  .logo-area {
    gap: clamp(4px, 0.9vw, 12px);
  }

  .logo-text {
    margin-inline-start: 0;
  }
}

.logo-mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  height: var(--header-row-h);
  width: auto;
  max-width: min(300px, 38vw);
  min-width: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  padding: 0;
  /* rezervă spațiu pentru depășirea la transform, ca titlul să înceapă imediat după logo */
  padding-inline-end: clamp(
    6px,
    calc((var(--logo-visual-scale) - 1) * 2.75rem),
    130px
  );
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.logo-mark img {
  height: 100%;
  width: auto;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: scale(var(--logo-visual-scale));
  transform-origin: left center;
}

.logo-text h1,
.logo-text .parc-logo-heading {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--parc-accent-dim), var(--parc-accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.35px;
  line-height: 1.15;
}

.logo-text span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--parc-accent);
  display: block;
  margin-top: -2px;
  letter-spacing: 0.28px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-shrink: 0;
}

.nav-links-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #2c3e4e;
  transition: 0.2s;
  font-size: 0.95rem;
}

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

.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-links-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px 14px;
  flex-wrap: wrap;
}

/* Brand icons: greutatea 500 de pe .nav-links a strică randarea unor glyph-uri (ex. Instagram). */
.nav-socials .header-social i {
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  -webkit-font-smoothing: antialiased;
}

.nav-links a.header-social--facebook,
.nav-links a.header-social--tiktok,
.nav-links a.header-social--instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.15rem;
}

.nav-links a.header-social--facebook {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
}

.nav-links a.header-social--facebook:hover {
  background: #1877f2;
  color: #fff;
}

.nav-links a.header-social--tiktok {
  background: rgba(20, 20, 22, 0.08);
  color: #111;
}

.nav-links a.header-social--tiktok:hover {
  background: linear-gradient(135deg, #00f2ea, #ff0050);
  color: #fff;
}

.nav-links a.header-social--instagram {
  background: rgba(228, 64, 95, 0.12);
  color: #e4405f;
}

.nav-links a.header-social--instagram:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366);
  color: #fff;
}

.btn-outline-light {
  background-color: rgba(196, 69, 54, 0.18);
  background-image: linear-gradient(
    135deg,
    var(--parc-btn-muted-top),
    var(--parc-btn-muted-bottom)
  );
  border: 1px solid var(--parc-btn-outline-border);
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  color: #c44536;
  color: var(--parc-accent);
  transition: 0.2s;
}

/* Buton header: icon + text pe același rând, aliniere verticală */
.nav-links a.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a.btn-outline-light i {
  flex-shrink: 0;
  line-height: 1;
}

.btn-outline-light:hover {
  background-color: #c44536;
  background-image: linear-gradient(
    135deg,
    var(--parc-accent-dim),
    var(--parc-accent)
  );
  color: #fff;
  border-color: transparent;
}

/* Bate .nav-links a:hover (verde), altfel textul rămâne verde pe fundal verde */
.nav-links a.btn-outline-light:hover {
  color: #fff;
}

.nav-links a.btn-outline-light:hover i {
  color: #fff;
}

/* Meniu derulant Politici (header) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  color: #2c3e4e;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-dropdown__toggle:hover {
  color: var(--parc-accent);
}

.nav-dropdown__caret {
  font-size: 0.65em;
  opacity: 0.85;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 6px 0 0;
  padding: 8px 0;
  min-width: 280px;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(14, 26, 36, 0.14);
  border: 1px solid rgba(44, 62, 78, 0.12);
  z-index: 2500;
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  color: #2c3e4e;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown__menu a:hover {
  background: rgba(var(--parc-accent-rgb), 0.08);
  color: var(--parc-accent);
}

/* Pagini legale (politici, termeni) */
.page-legal-main {
  padding: 28px 0 56px;
}

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.legal-doc h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1f2e3a;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.legal-doc .legal-doc__updated {
  font-size: 0.85rem;
  color: #5a6f82;
  margin-bottom: 28px;
}

.legal-doc h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #243848;
  margin: 28px 0 12px;
}

.legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c3e4e;
  margin: 22px 0 10px;
}

.legal-doc p,
.legal-doc li {
  color: #3d5166;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 1.35rem;
}

.legal-doc a {
  color: var(--parc-accent);
  font-weight: 600;
}

.legal-doc a:hover {
  text-decoration: underline;
}

/* Primul ecran = înălțime viewport: doar header + hero (imagine), fără listă/filtre */
.hero-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0 40px;
  position: relative;
  min-height: 0;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .hero-grid {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-text {
    width: 100%;
    max-width: 520px;
  }

  .search-card {
    width: 100%;
    max-width: 440px;
  }
}

.hero-text-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 100%;
}

.hero-text {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 48px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero-text h2 {
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1.25;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin: 0;
  text-align: center;
}

.btn-hero-stoc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 18px 42px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background-image: linear-gradient(
    145deg,
    var(--parc-accent-dim),
    var(--parc-accent)
  );
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    0 10px 36px rgba(var(--parc-accent-rgb), 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.15) inset;
  transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-hero-stoc:hover {
  background-image: linear-gradient(145deg, #ff7a6b, var(--parc-accent-dim));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 16px 44px rgba(var(--parc-accent-rgb), 0.6);
}

.btn-hero-stoc:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-hero-stoc:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.hero-text p,
.hero-text__tagline {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 28rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-text__tagline i {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.95);
}

.search-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border-radius: 48px;
  padding: 28px 24px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  max-width: 440px;
}

.search-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--parc-text);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 60px;
  padding: 6px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: 0.2s;
}

.input-group i {
  color: var(--parc-accent);
  margin-right: 12px;
  font-size: 1rem;
}

.input-group svg.input-group-gearbox-icon {
  color: var(--parc-accent);
  margin-right: 12px;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.input-group input,
.input-group select {
  background: transparent;
  border: none;
  padding: 12px 0;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
  font-family: "Inter", sans-serif;
}

.hero-dual-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-dual-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #3d5266;
  letter-spacing: 0.02em;
  padding-left: 4px;
}

.hero-dual-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-dual-inputs input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.hero-dual-inputs input:focus {
  border-color: rgba(var(--parc-accent-rgb), 0.45);
}

.btn-primary {
  background-color: #c44536;
  background-image: linear-gradient(
    135deg,
    var(--parc-accent-dim),
    var(--parc-accent)
  );
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

a.btn-primary,
a.btn-primary:visited {
  color: #fff;
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(0.92);
  transform: scale(0.98);
}

.btn-ghost {
  background-color: rgba(196, 69, 54, 0.15);
  background-image: linear-gradient(
    135deg,
    var(--parc-btn-muted-card-top),
    var(--parc-btn-muted-card-bottom)
  );
  border: 1px solid var(--parc-btn-outline-border);
  padding: 10px 18px;
  border-radius: 40px;
  font-weight: 600;
  color: var(--parc-accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.btn-ghost:hover {
  background-color: #c44536;
  background-image: linear-gradient(
    135deg,
    var(--parc-accent-dim),
    var(--parc-accent)
  );
  color: #fff;
  border-color: transparent;
}

/* Ancoră „Stoc auto” — offset sub header lipicios */
#stoc {
  scroll-margin-top: 100px;
}

/* Conținut păstrat în HTML pentru SEO; neafișat vizual (desktop + mobil) */
.seo-html-only {
  display: none !important;
}

/* Secțiune stoc: antet pe toată lățimea containerului, apoi grid filtre + listă */
.stock-block {
  width: 100%;
  padding: 28px 0 64px;
  margin-top: 4px;
  border-top: 1px solid rgba(26, 44, 62, 0.1);
}

.listing-main {
  min-width: 0;
}

.detail-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--parc-text);
}

/* Listing layout — filtre stânga (autode style) */
.listing-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
  padding: 0;
}

@media (max-width: 960px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }

  /* Pe mobil: fără coloana de filtre (rămân Căutare rapidă în hero + lista) */
  .filter-panel {
    display: none;
  }

  .results-header {
    flex-direction: column;
    align-items: stretch;
  }

  .results-header .sort-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Panou încadrat în înălțimea ecranului — scroll doar în interior, nu pe tot site-ul */
.filter-panel {
  border-radius: 24px;
  padding: 14px 14px 16px;
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 104px);
  max-height: calc(100dvh - 104px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--parc-accent-rgb), 0.35) transparent;
}

.filter-panel::-webkit-scrollbar {
  width: 6px;
}

.filter-panel::-webkit-scrollbar-thumb {
  background: rgba(var(--parc-accent-rgb), 0.35);
  border-radius: 6px;
}

.filter-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #1f2e3a;
  display: flex;
  align-items: center;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 1;
  background: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.filter-group {
  margin-bottom: 11px;
}

.filter-group:last-of-type {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5a6f82;
  margin-bottom: 4px;
}

.filter-group select,
.filter-group input[type="number"] {
  width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 0.84rem;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.filter-actions .btn-ghost {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.results-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px 20px;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.results-count {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--parc-text);
  line-height: 1.35;
  margin: 0;
}

.sort-select {
  padding: 10px 14px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 200px;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.car-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 40px -16px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

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

.car-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px;
}

.badge-year {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.car-info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Titlu: mereu 2 rânduri (al doilea gol dacă e scurt) — aliniază restul cardului */
.car-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.3;
}

.car-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  color: inherit;
  text-decoration: none;
  line-height: 1.3;
  /* 2 linii × line-height 1.3 = aliniere între „Seria 3 …” și „Seria 4 Gran Coupe …” */
  min-height: 2.6em;
  box-sizing: border-box;
}

.car-title a:hover {
  color: var(--parc-accent);
}

/* An / km / transmisie — fără min-height, ca să nu rămână gol între rând și preț */
.car-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-content: flex-start;
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #456077;
}

.car-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.car-details .car-detail-icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  display: block;
}

/* Preț lipit de detalii (fără spațiu gol intermediar) */
.price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--parc-accent);
  margin: 2px 0 6px;
  line-height: 1.2;
  min-height: calc(1.55rem * 1.2);
  display: flex;
  align-items: center;
}

.location {
  font-size: 0.8rem;
  color: #5a6f82;
  margin-bottom: 0;
  min-height: calc(0.8rem * 1.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Exact 2 rânduri: dacă textul e scurt, al doilea rând rămâne gol; butoanele rămân aliniate */
.car-desc {
  margin: 10px 0 12px;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #456077;
  height: 2.9em; /* 2 × line-height (1.45) în unități față de font-size */
  max-height: 2.9em;
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.btn-details {
  margin-top: auto;
  width: 100%;
  /* fundal solid dacă gradientul cu variabile e ignorat (unele browsere / link-uri) */
  background-color: rgba(196, 69, 54, 0.22);
  background-image: linear-gradient(
    135deg,
    var(--parc-btn-muted-card-top),
    var(--parc-btn-muted-card-bottom)
  );
  border: 1px solid var(--parc-btn-outline-border);
  padding: 12px;
  border-radius: 40px;
  font-weight: 600;
  font-family: inherit;
  transition: 0.2s;
  cursor: pointer;
  color: #c44536;
  color: var(--parc-accent);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

a.btn-details,
a.btn-details:visited {
  color: #c44536;
  color: var(--parc-accent);
}

.btn-details:hover {
  background-color: #c44536;
  background-image: linear-gradient(
    135deg,
    var(--parc-accent-dim),
    var(--parc-accent)
  );
  color: #fff;
  border-color: transparent;
}

a.btn-details:hover,
a.btn-details:hover:visited {
  color: #fff;
}

/* Recenzii — panou mare ca .hero-text (negru semi-transparent + blur) */
.reviews-showcase {
  position: relative;
  margin: 28px 0 72px;
  padding: 0;
}

.reviews-showcase__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.reviews-showcase__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parc-accent);
  margin-bottom: 12px;
}

.reviews-showcase__title {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--parc-dark);
  margin: 0 0 14px;
}

.reviews-showcase__lead {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.06rem);
  line-height: 1.55;
  color: #5a6f82;
  font-weight: 500;
}

.reviews-showcase__shell {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}

.reviews-showcase__outer {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 48px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reviews-slider-shell {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 16px);
  width: 100%;
}

.reviews-slider {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.reviews-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.review-slide {
  flex-shrink: 0;
  box-sizing: border-box;
  padding: clamp(12px, 2.2vw, 20px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.review-slide__inner {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 640px;
  padding: clamp(24px, 4vw, 38px) clamp(18px, 3vw, 36px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(14, 26, 36, 0.06);
  box-shadow:
    0 6px 32px rgba(14, 26, 36, 0.07),
    0 0 0 1px rgba(255, 255, 255, 1) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.review-slide__inner::before {
  content: "„";
  position: absolute;
  top: 4px;
  left: clamp(14px, 3vw, 22px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  color: rgba(var(--parc-accent-rgb), 0.16);
  pointer-events: none;
  user-select: none;
}

.review-stars {
  color: #f0a030;
  font-size: 1.12rem;
  letter-spacing: 5px;
}

.review-stars i {
  filter: drop-shadow(0 1px 2px rgba(240, 160, 48, 0.25));
}

.review-quote {
  margin: 0;
  padding: 0 6px;
  font-size: clamp(0.98rem, 2.1vw, 1.08rem);
  line-height: 1.62;
  color: var(--parc-text);
  font-style: normal;
  font-weight: 500;
  max-width: 100%;
}

.review-author {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--parc-dark);
  font-style: normal;
}

.review-author__car {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--parc-accent);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(var(--parc-accent-rgb), 0.1);
  border: 1px solid rgba(var(--parc-accent-rgb), 0.12);
}

.reviews-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  color: var(--parc-accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(12, 24, 38, 0.12);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.reviews-nav:hover {
  background: linear-gradient(135deg, var(--parc-accent-dim), var(--parc-accent));
  color: #fff;
  box-shadow: 0 14px 32px rgba(var(--parc-accent-rgb), 0.38);
}

.reviews-nav:active {
  transform: scale(0.96);
}

.reviews-nav:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.reviews-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.reviews-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.25s;
}

.reviews-dots button[aria-current="true"] {
  width: 30px;
  background: linear-gradient(90deg, var(--parc-accent-dim), var(--parc-accent));
  box-shadow: 0 2px 12px rgba(var(--parc-accent-rgb), 0.45);
}

@media (max-width: 640px) {
  .reviews-showcase {
    margin: 20px 0 56px;
  }

  .reviews-showcase__head {
    margin-bottom: 24px;
  }

  .reviews-showcase__outer {
    padding: 16px 14px;
    border-radius: 36px;
  }

  .reviews-slider-shell {
    gap: 4px;
  }

  .reviews-nav {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .reviews-slider {
    border-radius: 20px;
  }

  .review-slide__inner {
    padding: 20px 16px 24px;
    border-radius: 18px;
  }

  .review-slide__inner::before {
    font-size: 2.25rem;
    left: 12px;
  }
}

.site-footer,
footer {
  background: linear-gradient(
    165deg,
    var(--parc-footer-1) 0%,
    var(--parc-footer-2) 55%,
    var(--parc-footer-3) 100%
  );
  backdrop-filter: blur(8px);
  color: #e8eef5;
  padding: 52px 0 28px;
  border-radius: 36px 36px 0 0;
  margin-top: 48px;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.25);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 36px;
  align-items: start;
}

.footer-cell {
  min-width: 0;
}

.footer-cell--about {
  padding-right: 8px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.footer-brand-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 168, 154, 0.95);
}

.footer-site-title {
  margin: 2px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.footer-about-text {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(232, 238, 245, 0.82);
}

.footer-company-legal strong {
  color: rgba(232, 238, 245, 0.95);
  font-weight: 700;
}

.footer-highlight {
  margin: 0 0 18px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(232, 238, 245, 0.92);
  background: rgba(var(--parc-accent-rgb), 0.14);
  border-radius: 12px;
  border: 1px solid rgba(var(--parc-accent-rgb), 0.28);
}

.footer-highlight i {
  margin-right: 6px;
  color: #e8a89a;
}

.footer-social-block {
  margin-top: 4px;
}

.footer-social-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 238, 245, 0.45);
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #e8eef5;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: rgba(var(--parc-accent-rgb), 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--parc-accent), rgba(var(--parc-accent-rgb), 0.25));
}

.footer-heading.footer-heading--after-list {
  margin-top: 22px;
}

.footer-contact-list,
.footer-links-list,
.footer-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(232, 238, 245, 0.85);
}

.footer-contact-list li:last-child {
  margin-bottom: 0;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  color: #e8a89a;
  margin-top: 2px;
}

.footer-contact-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer-contact-list a:hover {
  color: #fff;
  border-bottom-color: rgba(232, 168, 154, 0.6);
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list li:last-child {
  margin-bottom: 0;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(232, 238, 245, 0.88);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links-list a i {
  width: 1.1em;
  color: #e8a89a;
  font-size: 0.85em;
}

.footer-links-list a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-services-list li {
  position: relative;
  padding-left: 0;
  margin-bottom: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(232, 238, 245, 0.78);
}

.footer-services-list li:last-child {
  margin-bottom: 0;
}

.footer-services-list i {
  margin-right: 8px;
  color: #e8a89a;
  width: 1em;
}

.footer-keyword-strip {
  margin: 32px 0 0;
  padding: 14px 18px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 238, 245, 0.55);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-map-section {
  margin-top: 24px;
  text-align: center;
}

.footer-map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 0;
  background: #1a2835;
}

.footer-map-frame--wide iframe {
  height: 240px;
}

.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.footer-map-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f0c9c0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-map-open:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .footer-cell--about {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }

  .footer-keyword-strip {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    padding: 12px 14px;
  }

  .footer-map-frame--wide iframe {
    height: 200px;
  }
}

/* WhatsApp floating button (dreapta-jos) */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  z-index: 2000;
}

.wa-float i {
  font-size: 1.6rem;
  line-height: 1;
}

.wa-float:hover {
  background: #1fbc58;
  transform: translateY(-2px);
}

.wa-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.35);
  outline-offset: 4px;
}

@media (max-width: 420px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* Accesibilitate — buton stânga-jos */
.a11y-float {
  position: fixed;
  left: max(18px, env(safe-area-inset-left, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1565c0;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 18px 36px rgba(21, 101, 192, 0.35);
  z-index: 2001;
  transition:
    background 0.2s,
    transform 0.15s;
}

.a11y-float i {
  font-size: 1.55rem;
  line-height: 1;
}

.a11y-float:hover {
  background: #0d47a1;
  transform: translateY(-2px);
}

.a11y-float:focus-visible {
  outline: 3px solid #64b4ff;
  outline-offset: 4px;
}

.a11y-widget__panel {
  position: fixed;
  left: max(18px, env(safe-area-inset-left, 0px));
  bottom: max(86px, calc(18px + env(safe-area-inset-bottom, 0px) + 56px));
  width: min(300px, calc(100vw - 36px));
  max-height: min(72vh, 480px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 26, 36, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  z-index: 2000;
  -webkit-overflow-scrolling: touch;
}

.a11y-widget__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--parc-dark);
  margin: 0 0 12px;
  line-height: 1.3;
}

.a11y-widget__option {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  border: 2px solid #dce4ee;
  background: #f5f8fc;
  color: var(--parc-dark);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.a11y-widget__option:last-of-type {
  margin-bottom: 0;
}

.a11y-widget__option:hover {
  background: #e8f0fa;
  border-color: #b8c9dc;
}

.a11y-widget__option:focus-visible {
  outline: 3px solid #64b4ff;
  outline-offset: 2px;
}

.a11y-widget__option[aria-pressed="true"] {
  background: #1565c0;
  border-color: #0d47a1;
  color: #fff;
}

/* Bară de citit — urmărește cursorul / degetul */
.a11y-reading-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  margin: 0;
  pointer-events: none;
  z-index: 2500;
  background: rgba(255, 235, 120, 0.42);
  border-top: 2px solid rgba(180, 140, 0, 0.85);
  border-bottom: 2px solid rgba(180, 140, 0, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

html.a11y-text-large {
  font-size: 118%;
}

html.a11y-contrast-boost {
  filter: contrast(1.18) saturate(1.05);
}

html.a11y-links-highlight a:not(.a11y-float):not(.wa-float) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

html.a11y-spacing-wide body {
  line-height: 1.75 !important;
  letter-spacing: 0.025em;
  word-spacing: 0.06em;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

@media (max-width: 420px) {
  .a11y-float {
    left: max(14px, env(safe-area-inset-left, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .a11y-float i {
    font-size: 1.45rem;
  }

  .a11y-widget__panel {
    left: max(14px, env(safe-area-inset-left, 0px));
    bottom: max(78px, calc(14px + env(safe-area-inset-bottom, 0px) + 52px));
    width: calc(100vw - 28px);
    max-width: 320px;
    padding: 14px;
  }
}

.footer-anpc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
  padding: 28px 24px 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-anpc a {
  display: inline-flex;
  line-height: 0;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.footer-anpc a:hover {
  opacity: 1;
}

.footer-anpc img {
  width: auto;
  height: auto;
  max-height: 44px;
  max-width: min(166px, 100%);
}

.copyright {
  text-align: center;
  margin-top: 28px;
  font-size: 0.8rem;
}

.copyright a {
  color: #9fb8d4;
  text-decoration: none;
}

.copyright a:hover {
  color: #eef2f8;
  text-decoration: underline;
}

.footer-seo-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  text-align: center;
}

.footer-seo-text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(238, 242, 248, 0.55);
  margin: 0;
  text-align: center;
}

.footer-seo-text strong {
  font-weight: 600;
  color: rgba(238, 242, 248, 0.72);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 32px;
}

/* Detail page */
.detail-breadcrumb {
  font-size: 0.88rem;
  color: #5a6f82;
  padding: 16px 0 8px;
}

.detail-breadcrumb a {
  color: var(--parc-accent);
  text-decoration: none;
  font-weight: 600;
}

.detail-breadcrumb a:hover {
  text-decoration: underline;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  padding-bottom: 48px;
}

@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #e8edf3;
  aspect-ratio: 16 / 10;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  color: var(--parc-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.gallery-nav:hover {
  background: linear-gradient(135deg, var(--parc-accent-dim), var(--parc-accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 32px rgba(var(--parc-accent-rgb), 0.35);
  transform: translateY(-50%) scale(1.06);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.98);
}

.gallery-nav:focus-visible {
  outline: 2px solid var(--parc-accent);
  outline-offset: 3px;
}

.gallery-nav--prev {
  left: 12px;
}

.gallery-nav--next {
  right: 12px;
}

@media (max-width: 520px) {
  .gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .gallery-nav--prev {
    left: 8px;
  }

  .gallery-nav--next {
    right: 8px;
  }
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(14, 26, 36, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.gallery-thumbs button {
  width: 88px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
  flex-shrink: 0;
}

.gallery-thumbs button.active,
.gallery-thumbs button:hover {
  border-color: var(--parc-accent);
}

.gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-title-block {
  margin-top: 24px;
}

.detail-title-block h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: #1f2e3a;
}

.detail-meta {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #456077;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.detail-description {
  margin-top: 28px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  color: #2c3e4e;
  font-size: 0.98rem;
}

.specs-table {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.specs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.specs-table tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.65);
}

.specs-table tr:nth-child(even) {
  background: rgba(240, 244, 249, 0.8);
}

.specs-table td {
  padding: 12px 16px;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #5a6f82;
  width: 42%;
}

.features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.features-tags span {
  background: rgba(var(--parc-accent-rgb), 0.12);
  color: var(--parc-accent);
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
}

.sticky-card {
  position: sticky;
  top: 100px;
  border-radius: 24px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.sticky-card .price-big {
  font-size: 2rem;
  font-weight: 800;
  color: var(--parc-accent);
}

.sticky-card .contact-row {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  line-height: 1.7;
}

.sticky-card .btn-block {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: center;
}

/* Bloc rate / buyback în pagina detaliu (sub butoane) */
.sticky-card-financing {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(44, 62, 78, 0.1);
}

.sticky-card-financing__lead {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-align: center;
  color: #2c3e4e;
}

.sticky-card-financing__lead--accent {
  margin-bottom: 18px;
  font-size: 0.78rem;
  color: var(--parc-accent);
  letter-spacing: 0.05em;
}

.sticky-card-financing__title {
  margin: 18px 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1f2e3a;
  letter-spacing: 0.02em;
}

.sticky-card-financing__title:first-of-type {
  margin-top: 0;
}

.sticky-card-financing__list {
  margin: 0 0 14px;
  padding: 0 0 0 1.15rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #3d4f62;
}

.sticky-card-financing__list li {
  margin-bottom: 0.45em;
}

.sticky-card-financing__list li:last-child {
  margin-bottom: 0;
}

.sticky-card-financing__prose {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #3d4f62;
  background: rgba(var(--parc-accent-rgb), 0.06);
  border-radius: 14px;
  border: 1px solid rgba(var(--parc-accent-rgb), 0.12);
}

.sticky-card-financing__prose strong {
  color: #1f2e3a;
  font-weight: 800;
}

.sticky-card-financing__disclaimer {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(44, 62, 78, 0.15);
  font-size: 0.68rem;
  line-height: 1.5;
  color: #6b7c8e;
}

.sticky-card-financing__disclaimer strong {
  color: #5a3d35;
}

@media (max-width: 900px) {
  .sticky-card-financing {
    display: none;
  }
}

.similar-section {
  padding: 32px 0 60px;
}

.similar-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
}

@media (max-width: 780px) {
  .site-header-sticky {
    margin-top: 12px;
  }

  .main-header {
    --header-pad-y: 5px;
    --header-row-h: 42px;
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 36px;
  }

  .logo-area {
    max-width: 100%;
  }

  .logo-mark {
    max-width: min(260px, 72vw);
  }

  .buyback-ticker {
    width: calc(100% - 24px);
    border-radius: 36px;
  }

  .buyback-ticker__mask {
    padding: 8px 0;
  }

  .buyback-ticker__text {
    font-size: 0.68rem;
    padding: 0 1.25rem;
  }

  .hero-text h2 {
    font-size: 1.7rem;
    font-weight: 400;
  }

  .hero-text {
    padding: 20px 18px;
    gap: 18px;
  }

  .btn-hero-stoc {
    font-size: 1.05rem;
    padding: 15px 26px;
    width: 100%;
    max-width: min(100%, 320px);
  }

  .hero-text__tagline {
    font-size: 0.98rem;
  }

  .stock-block {
    padding: 22px 0 48px;
  }
}

/* Header mobil: rând 1 logo; rând 2 linkuri text centrate; rând 3 iconițe + buton centrate */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-mark {
    margin-right: 0;
    justify-content: center;
    padding-inline-end: 0;
  }

  .logo-mark img {
    transform-origin: center center;
  }

  .logo-area {
    max-width: 100%;
    align-self: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .logo-text {
    width: 100%;
    text-align: center;
  }

  .logo-text h1,
  .logo-text .parc-logo-heading {
    font-size: 1.08rem;
    line-height: 1.25;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
  }

  .logo-text span {
    font-size: 0.62rem;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  /* Mobil index: rând principal ascuns, cu excepția rândului care include Politici (Stoc/Ghid ascunse îngust) */
  .main-header .nav-links-primary {
    display: none;
  }

  .main-header .nav-links-primary.nav-links-primary--with-policies {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px 16px;
    padding: 0 0 10px;
    margin: 0;
  }

  .nav-link--hide-narrow {
    display: none !important;
  }

  .nav-dropdown__menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-detail .main-header .nav-links-primary {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px 16px;
    padding: 0 0 10px;
    margin: 0;
  }

  .nav-links-actions {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 8px 8px;
    margin: 0;
    border-top: 1px solid rgba(44, 62, 78, 0.12);
  }

  .page-detail .nav-links-actions {
    padding-top: 8px;
  }

  .nav-links a.btn-outline-light {
    order: 1;
    padding: 7px 12px;
    font-size: 0.78rem;
    min-height: 38px;
    box-sizing: border-box;
  }

  .nav-links-actions .nav-socials {
    order: 2;
    justify-content: center;
    flex-shrink: 0;
  }

  .buyback-ticker {
    margin-top: 14px;
  }
}

/* Tablet / mobil lat: logo puțin mai mic decât desktop; telefon: dimensiuni mici */
@media (max-width: 900px) and (min-width: 781px) {
  .main-header {
    --logo-visual-scale: 2;
  }
}

@media (max-width: 780px) {
  .main-header {
    /* mai mic decât pe desktop, fără să depășească chenarul când e stivuit titlul sub logo */
    --logo-visual-scale: 1.55;
  }

  .logo-text h1,
  .logo-text .parc-logo-heading {
    font-size: 1.02rem;
    line-height: 1.25;
  }

  .logo-text span {
    font-size: 0.6rem;
  }

  .buyback-ticker {
    margin-top: 18px;
  }
}

/* Modal ghid achiziție auto SH */
body.guide-modal-open {
  overflow: hidden;
}

.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.guide-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.guide-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 36, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.guide-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  z-index: 1;
}

.guide-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(44, 62, 78, 0.08);
  color: #2c3e4e;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.guide-modal__close:hover {
  background: linear-gradient(135deg, var(--parc-accent-dim), var(--parc-accent));
  color: #fff;
}

.guide-modal__body {
  overflow-y: auto;
  padding: 28px 24px 32px;
  -webkit-overflow-scrolling: touch;
}

.guide-modal__brand {
  text-align: center;
  margin-bottom: 20px;
}

.guide-modal__brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 6px 18px rgba(var(--parc-accent-rgb), 0.2));
}

.guide-modal__title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  color: #1f2e3a;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.guide-modal__intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3d4f62;
  margin: 0 0 22px;
}

.guide-modal__section {
  margin-bottom: 22px;
}

.guide-modal__section:last-child {
  margin-bottom: 0;
}

.guide-modal__section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.guide-modal__section-head i {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--parc-accent-rgb), 0.15), rgba(var(--parc-accent-rgb), 0.06));
  color: var(--parc-accent);
  font-size: 1rem;
}

.guide-modal__section h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f2e3a;
  line-height: 1.35;
  padding-top: 4px;
}

.guide-modal__section p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #3d4f62;
}

.guide-modal__section p:last-child {
  margin-bottom: 0;
}

.guide-modal__section ul {
  margin: 8px 0 0;
  padding: 0 0 0 1.2rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3d4f62;
}

.guide-modal__section li {
  margin-bottom: 0.4em;
}

.guide-modal__section li:last-child {
  margin-bottom: 0;
}

.guide-modal__subsection {
  margin-top: 14px;
}

.guide-modal__subsection h4 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--parc-accent);
}

.guide-modal__faq-item {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  border: 1px solid rgba(44, 62, 78, 0.08);
}

.guide-modal__faq-item strong {
  display: block;
  font-size: 0.88rem;
  color: #1f2e3a;
  margin-bottom: 6px;
}

.guide-modal__faq-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.guide-modal__outro {
  margin-top: 20px;
  padding: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #3d4f62;
  background: rgba(var(--parc-accent-rgb), 0.07);
  border-radius: 16px;
  border-left: 4px solid var(--parc-accent);
}

@media (max-width: 520px) {
  .guide-modal__body {
    padding: 22px 16px 28px;
  }

  .guide-modal__title {
    font-size: 1.15rem;
  }

  .guide-modal__brand img {
    width: 72px;
    height: 72px;
  }
}

/* —— Cookie consent (deasupra butoanelor flotante, sub ghid modal) —— */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(24px);
  z-index: 3000;
  width: min(560px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  font-family: "Inter", sans-serif;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-consent.cookie-consent--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-consent.cookie-consent--exit {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent.cookie-consent--visible,
  .cookie-consent.cookie-consent--exit {
    transition-duration: 0.01ms;
  }
}

.cookie-consent__panel {
  background: rgba(8, 10, 14, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: rgba(255, 255, 255, 0.92);
}

.cookie-consent__main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cookie-consent__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

.cookie-consent__copy {
  min-width: 0;
}

.cookie-consent__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #fff;
  line-height: 1.25;
}

.cookie-consent__text {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.cookie-consent__custom {
  margin-bottom: 14px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-consent__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
}

.cookie-consent__row:last-child {
  border-bottom: none;
}

.cookie-consent__row--locked {
  cursor: default;
  opacity: 0.95;
}

.cookie-consent__row-text {
  flex: 1;
  min-width: 0;
}

.cookie-consent__row-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.95);
}

.cookie-consent__row-text span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

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

.cookie-consent__switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  margin-top: 2px;
}

.cookie-consent__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease;
}

.cookie-consent__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-consent__input:focus-visible ~ .cookie-consent__switch .cookie-consent__track {
  box-shadow: 0 0 0 3px rgba(100, 180, 255, 0.45);
}

.cookie-consent__input:checked ~ .cookie-consent__switch .cookie-consent__track,
.cookie-consent__switch--on .cookie-consent__track {
  background: rgba(120, 200, 140, 0.55);
}

.cookie-consent__input:checked ~ .cookie-consent__switch .cookie-consent__knob,
.cookie-consent__switch--on .cookie-consent__knob {
  transform: translateX(18px);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.cookie-consent__btn {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.15s;
}

.cookie-consent__btn:active {
  transform: scale(0.98);
}

.cookie-consent__btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
}

.cookie-consent__btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-consent__btn--outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-consent__btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-consent__btn--primary {
  background: #fff;
  color: #0e1218;
}

.cookie-consent__btn--primary:hover {
  background: #e8ecf2;
}

.cookie-consent__footer {
  margin-top: 10px;
  text-align: center;
}

.cookie-consent__link {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__link:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .cookie-consent {
    width: calc(100% - 20px);
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(20px);
  }

  .cookie-consent.cookie-consent--visible {
    transform: translateX(-50%) translateY(0);
  }

  .cookie-consent__panel {
    padding: 14px 14px 12px;
    border-radius: 16px;
  }

  .cookie-consent__main {
    gap: 10px;
    margin-bottom: 12px;
  }

  .cookie-consent__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .cookie-consent__icon svg {
    width: 18px;
    height: 18px;
  }

  .cookie-consent__title {
    font-size: 0.92rem;
    margin-bottom: 4px;
  }

  .cookie-consent__text {
    font-size: 0.75rem;
  }

  .cookie-consent__row {
    padding: 10px 0;
    gap: 10px;
  }

  .cookie-consent__row-text strong {
    font-size: 0.76rem;
  }

  .cookie-consent__row-text span {
    font-size: 0.68rem;
  }

  .cookie-consent__switch {
    width: 40px;
    height: 24px;
  }

  .cookie-consent__knob {
    width: 18px;
    height: 18px;
    top: 3px;
    left: 3px;
  }

  .cookie-consent__input:checked ~ .cookie-consent__switch .cookie-consent__knob,
  .cookie-consent__switch--on .cookie-consent__knob {
    transform: translateX(16px);
  }

  .cookie-consent__actions {
    flex-direction: column;
    gap: 6px;
  }

  .cookie-consent__btn {
    width: 100%;
    font-size: 0.76rem;
    padding: 9px 14px;
  }

  .cookie-consent__link {
    font-size: 0.72rem;
    margin-top: 2px;
  }
}
