    :root {
      --wood-950: #120b06;
      --wood-900: #1d120a;
      --wood-800: #2b1a0f;
      --wood-700: #3a2415;
      --wood-600: #4c2f1c;
      --gold-500: #c69234;
      --gold-400: #d9aa4f;
      --cream-100: #f7efd9;
      --cream-200: #ead9b2;
      --text: #f6efe2;
      --muted: #cdbf9f;
      --line: rgba(217, 170, 79, 0.28);
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 20% 0%, rgba(198, 146, 52, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, var(--wood-950), var(--wood-900));
      background-size: auto, 10px 10px, auto;
    }
	
	main {
    position: relative;
}

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: min(1180px, calc(100% - 40px));
      margin-inline: auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(16px);
      background: rgba(18, 11, 6, 0.9);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      min-height: 86px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-logo {
  width: 128px;
  height: auto;
  flex: none;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #f8f2e8;
}

.brand-name span {
  color: var(--gold-400);
}

.brand-name small {
  font-size: 0.38em;
  margin-left: 4px;
}

.brand-baseline {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream-200);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-baseline::before,
.brand-baseline::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold-400);
  opacity: 0.9;
}
.user-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.user-avatar {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  color: var(--cream-100);
}

.user-avatar svg {
  width: 22px;
  height: 22px;
}

.user-avatar.connected-no-avatar {
  color: var(--gold-400);
  border-color: var(--gold-400);
  background: rgba(217, 170, 79, 0.12);
}

.v3_avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--gold-500);
}
@media (max-width: 620px) {

  .brand-logo {
    width: 82px;
  }

  .brand-name {
    font-size: 2.3rem;
  }

  .brand-baseline {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    gap: 8px;
  }

  .brand-baseline::before,
  .brand-baseline::after {
    width: 18px;
  }
}
    .nav {
      display: flex;
      gap: 24px;
      align-items: center;
      color: var(--cream-100);
      font-size: 0.86rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .nav a {
      opacity: 0.86;
    }

    .nav a:hover,
    .nav a.active {
      color: var(--gold-400);
      opacity: 1;
    }

    .hero {
      min-height: 490px;
      display: grid;
      align-items: end;
      border-bottom: 1px solid var(--line);
      background:
        linear-gradient(90deg, rgba(18, 11, 6, 0.9) 0%, rgba(18, 11, 6, 0.46) 48%, rgba(18, 11, 6, 0.15) 100%),
        url("../assets/hero-hifi.png");
      background-size: cover;
      background-position: center;
    }

    .hero-content {
      padding: 65px 0 45px;
      max-width: 760px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--gold-400);
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-size: 0.84rem;
    }

    .eyebrow::before {
      content: "";
      width: 54px;
      height: 1px;
      background: currentColor;
    }

    h1 {
      margin: 22px 0 18px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(3.2rem, 8vw, 5rem);
      line-height: 0.92;
      text-shadow: 0 8px 34px rgba(0,0,0,.6);
    }

    .hero p {
      max-width: 640px;
      color: var(--cream-100);
      font-size: clamp(1.05rem, 2vw, 1.35rem);
      line-height: 1.7;
    }

    .main-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.4fr;
      gap: 0;
      border-bottom: 1px solid var(--line);
    }

    .panel {
      padding: 52px 44px;
      border-right: 1px solid var(--line);
      background: rgba(0,0,0,.13);
    }

    .panel:last-child {
      border-right: 0;
    }

    .section-kicker {
      display: flex;
      align-items: center;
      gap: 14px;
      color: var(--gold-400);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .section-kicker .icon {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border: 1px solid var(--gold-500);
      border-radius: 10px;
      font-size: 1.25rem;
    }

    .section-subtitle {
      margin: 0 0 32px 52px;
      color: var(--cream-200);
      font-size: 0.95rem;
    }

    .blog-list {
      display: grid;
      gap: 24px;
    }

    .blog-card {
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 20px;
      align-items: center;
    }

    .blog-card img {
      height: 96px;
      width: 130px;
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid rgba(217,170,79,.32);
    }

    .tag {
      color: var(--gold-400);
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .blog-card h3 {
      margin: 8px 0 4px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.2rem;
      line-height: 1.25;
    }

    .date {
      color: var(--muted);
      font-size: 0.84rem;
    }

    .read-more {
      display: inline-block;
      margin-top: 8px;
      color: var(--gold-400);
      font-size: 0.9rem;
      font-weight: 700;
    }

    .button-outline {
      margin-top: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 50px;
      border: 1px solid var(--gold-500);
      border-radius: 8px;
      color: var(--cream-100);
      font-weight: 800;
    }

    .about h2 {
      margin: 28px 0 22px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2rem, 4vw, 3.1rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
    }

    .about p {
      max-width: 740px;
      color: var(--cream-100);
      line-height: 1.75;
      font-size: 1.03rem;
    }

    .about strong {
      color: var(--gold-400);
    }

    .benefits {
      margin-top: 44px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
      text-align: center;
    }

    .benefit-icon {
      color: var(--gold-400);
      font-size: 2rem;
      margin-bottom: 12px;
    }

    .benefits p {
      margin: 0;
      color: var(--cream-100);
      font-size: 0.88rem;
      line-height: 1.5;
    }

    .search-section {
      padding: 54px 0 62px;
    }

    .search-box {
      padding: 38px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(0,0,0,.16)),
        rgba(43,26,15,.68);
      box-shadow: var(--shadow);
    }

    .search-title {
      display: flex;
      align-items: center;
      gap: 22px;
      margin-bottom: 26px;
    }

    .search-icon {
      width: 70px;
      height: 70px;
      display: grid;
      place-items: center;
      border: 2px solid var(--gold-500);
      border-radius: 999px;
      color: var(--gold-400);
      font-size: 2rem;
      flex: none;
    }

    .search-title h2 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(2rem, 5vw, 3rem);
      letter-spacing: -0.04em;
    }

    .search-title p {
      margin: 8px 0 0;
      color: var(--gold-400);
    }

    .search-form {
      display: grid;
      grid-template-columns: 1fr 190px;
      gap: 22px;
    }

    .search-input-wrap {
      position: relative;
    }

    .search-input {
      width: 100%;
      min-height: 66px;
      border: 2px solid var(--gold-500);
      border-radius: 9px;
      padding: 0 54px 0 24px;
      font-size: 1.05rem;
      color: #1d120a;
      background: #fffaf0;
      outline: none;
    }

    .search-input::placeholder {
      color: #7d6d56;
    }

    .search-input-wrap::after {
      content: "⌄";
      position: absolute;
      right: 22px;
      top: 50%;
      transform: translateY(-54%);
      color: #1d120a;
      font-size: 1.6rem;
      pointer-events: none;
    }

    .search-button {
      min-height: 66px;
      border: 0;
      border-radius: 9px;
      background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
      color: #1d120a;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
      box-shadow: 0 10px 30px rgba(198,146,52,.22);
    }

    .search-help {
      margin-top: 16px;
      color: var(--cream-200);
      font-size: 0.94rem;
    }

    .search-help strong {
      color: var(--gold-400);
    }

    .footer-features {
      padding: 0 0 58px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }

    .footer-feature {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 22px 28px;
      border-right: 1px solid var(--line);
      color: var(--cream-100);
    }

    .footer-feature:last-child {
      border-right: 0;
    }

    .footer-feature .icon {
      color: var(--gold-400);
      font-size: 2rem;
    }

    @media (max-width: 960px) {
      .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
      }

      .nav {
        flex-wrap: wrap;
        gap: 14px 20px;
      }

      .hero {
        min-height: 417px;
      }

      .main-grid,
      .search-form,
      .benefits,
      .footer-features {
        grid-template-columns: 1fr;
      }

      .panel {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .footer-feature {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }
    }

    @media (max-width: 620px) {
      .container {
        width: min(100% - 28px, 1180px);
      }

      .brand-mark {
        width: 56px;
      }

      .brand-name {
        font-size: 2rem;
      }

      .brand-baseline {
        font-size: 0.62rem;
      }

      .hero-content {
        padding: 25px 0 45px;
      }

      .panel,
      .search-box {
        padding: 30px 22px;
      }

      .blog-card {
        grid-template-columns: 1fr;
      }

      .blog-card img {
        width: 100%;
        height: 180px;
      }

      .search-title {
        align-items: flex-start;
        flex-direction: column;
      }
    }
	
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name small {
  font-size: 0.45em;
  margin-left: 2px;
}

@media (max-width: 620px) {
  .brand-logo {
    width: 64px;
  }
}	

.retro-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.12),
      rgba(0,0,0,.28)
    );

  padding: 34px 0;
}

.retro-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.retro-mascot {
  width: 84px;
  height: auto;

  opacity: 0.92;

  transition: transform .25s ease;
}

.retro-mascot:hover {
  transform: rotate(-4deg) scale(1.04);
}

.retro-footer-text {
  color: var(--cream-100);
}

.retro-footer-text p {
  margin: 0;
  line-height: 1.6;
}

.retro-footer-text strong {
  color: var(--gold-400);
}

.retro-footer-text a {
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 700;
}

.retro-footer-text a:hover {
  text-decoration: underline;
}

.retro-subline {
  margin-top: 4px !important;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 700px) {

  .retro-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .retro-mascot {
    width: 72px;
  }
}
.autocomplete-results {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 500px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    color: #222;              /* ← TEXTE BIEN VISIBLE */
    background: #fff;
}

.autocomplete-item.active {
    background: #e6e6e6;
}
.autocomplete-item:hover {
    background: transparent;
}

.autocomplete-highlight {
    font-weight: bold;
    color: #000;              /* ← MATCH BIEN VISIBLE */
}.autocomplete-item:hover {
    background: #f5f5f5;
}

.autocomplete-keyboard .autocomplete-item:hover {
    background: transparent;
}
.autocomplete-results:empty {
    border: none;
    box-shadow: none;
}
.device-content{
	background-color:#FFFCF6;
  border-radius: 14px;
}
dd {
    color: #333;
}

.valeur-suffixe {
    margin-left: 4px;
    color: #666;
    font-size: 0.9em;
    white-space: nowrap;
}
.admin_modif{
	font-weight:bold;
	color:#F00;
	border:#F00 thin solid;
	border-radius:15px;
	padding:5px;


}
.admin{
	color:red;
}



/* =========================================================
   Page appareil.php
   ========================================================= */
.device-intro {
  padding: 72px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(198,146,52,.16), transparent 34%),
    linear-gradient(180deg, rgba(43,26,15,.72), rgba(18,11,6,.25));
}

.device-hero-content {
  padding: 0 0 34px;
  max-width: 900px;
}

.device-hero-content h1 {
  margin: 18px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 2.8rem);
  line-height: .92;
  text-shadow: 0 8px 34px rgba(0,0,0,.6);
}

.device-hero-content p {
  max-width: 720px;
  color: var(--cream-100);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.device-photo-wrap {
  display: flex;
  justify-content: center;
}

.device-main-photo {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.28);
  box-shadow: var(--shadow);
}



.device-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 280px;
  gap: 34px;
  padding: 54px 0;
}

.spec-grid {
  display: grid;
  gap: 24px;
}

.side-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(43,26,15,.72);
  box-shadow: var(--shadow);
}

.spec-block{
	padding: 0px 30px 0px;
  color:#333;
}


.side-card h3 {
  margin-top: 0;
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
}


.spec-block h2{
  margin-top: 0;
  color: black;
  font-family: Georgia, "Times New Roman", serif;
}

dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3px 18px;
}

dt {
  color: black;
}

dd {
  margin: 0;
  color: black;
}

.device-sidebar {
  display: grid;
  gap: 22px;
  align-content: start;
}

.mini-search {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.mini-search input {
  width: 0;
  opacity: 0;
  min-height: 48px;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  padding: 0;
  transition: .25s ease;
}

.mini-search:hover input,
.mini-search:focus-within input {
  width: 240px;
  opacity: 1;
  padding: 0 18px;
}

.mini-search-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--gold-500);
  background: rgba(0,0,0,.25);
  color: var(--gold-400);
  font-size: 1.4rem;
}

.side-card a {
  color: var(--gold-400);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .device-layout {
    grid-template-columns: 1fr;
  }

  dl {
    grid-template-columns: 1fr;
  }

  .mini-search {
    justify-content: stretch;
  }

  .mini-search input {
    width: 100%;
    opacity: 1;
    padding: 0 18px;
  }
}
.zoomable {
  cursor: zoom-in;
  transition: transform .25s ease;
}

.zoomable:hover {
  transform: scale(1.01);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  background: rgba(0,0,0,.92);

  opacity: 0;
  visibility: hidden;

  transition: .25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: none;
  max-height: none;

  width: auto;
  height: auto;

  box-shadow: 0 30px 80px rgba(0,0,0,.6);

  cursor: zoom-out;
}
.retro-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.12),
      rgba(0,0,0,.28)
    );

  padding: 34px 0;
}

.retro-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.retro-mascot {
  width: 84px;
  height: auto;

  opacity: 0.92;

  transition: transform .25s ease;
}

.retro-mascot:hover {
  transform: rotate(-4deg) scale(1.04);
}

.retro-footer-text {
  color: var(--cream-100);
}

.retro-footer-text p {
  margin: 0;
  line-height: 1.6;
}

.retro-footer-text strong {
  color: var(--gold-400);
}

.retro-footer-text a {
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 700;
}

.retro-footer-text a:hover {
  text-decoration: underline;
}

.retro-subline {
  margin-top: 4px !important;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 700px) {

  .retro-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .retro-mascot {
    width: 72px;
  }
}
.device-content{
	background-color:#FFFCF6;
  border-radius: 14px;
}
dd {
    color: #333;
}



/* =========================================================
   APPAREIL_FORM.PHP
   Styles issus de l'ancien bloc <style> de appareil_form.php
========================================================= */

.form-intro {
  padding: 70px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(198,146,52,.16), transparent 34%),
    linear-gradient(180deg, rgba(43,26,15,.72), rgba(18,11,6,.25));
}

.form-intro p {
  max-width: 720px;
  color: var(--cream-100);
  font-size: 1.12rem;
  line-height: 1.7;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  padding: 54px 0;
}

.form-card {
  background: #fffaf0;
  color: #2b1a0f;
  border-radius: 16px;
  border: 1px solid rgba(217,170,79,.35);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.category-block {
  padding: 30px;
  border-bottom: 1px solid rgba(76,47,28,.18);
}

.category-block:last-child {
  border-bottom: 0;
}

.category-title {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  color: #1d120a;
}

.form-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: center;
  padding: 11px 0;
}

.form-row label:first-child {
  font-weight: 700;
  color: #3a2415;
}

input[type="text"],
input[type="number"],
textarea,
select {
  width: 100%;
  min-height: 30px;
  border: 1px solid rgba(76,47,28,.28);
  border-radius: 12px;
  background: #fff;
  color: #1d120a;
  padding: 6px 14px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(198,146,52,.16);
}

input[type="number"] {
  width: 40%;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-slider {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #d8cab2;
  position: relative;
  transition: .2s ease;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.18);
}

.toggle-slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 23px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.toggle input:checked + .toggle-slider {
  background: var(--gold-500);
}

.toggle input:checked + .toggle-slider::after {
  transform: translateX(17px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 30px 32px;
  background: rgba(234,217,178,.35);
}

.btn {
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
  background: var(--gold-500);
  color: #120b06;
  font: inherit;
}

.btn.secondary {
  background: transparent;
  color: #3a2415;
}

.side-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(43,26,15,.72);
  box-shadow: var(--shadow);
}

.side-card h3 {
  margin-top: 0;
  color: var(--gold-400);
  font-family: Georgia, "Times New Roman", serif;
}

.side-card p {
  color: var(--cream-100);
  line-height: 1.6;
}

.notice {
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(217,170,79,.45);
  background: rgba(217,170,79,.16);
  color: var(--cream-100);
}

.notice.error {
  border-color: rgba(255,100,100,.5);
  background: rgba(255,70,70,.13);
}

.coche-groupe .coche-option,
.coche-groupe .coche-option:first-child {
  font-weight: normal !important;
}

.coche-option {
  margin-right: 15px;
}

.option-groupe {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.option-groupe label.option-option {
  font-weight: normal !important;
}

.toggle-nullable label {
  font-weight: normal !important;
}

.categories-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  margin-left: 28px;
}

.btn-categorie {
  padding: 6px 12px;
  border: 1px solid #aaa;
  background: #eee;
  cursor: pointer;
  border-radius: 8px;
  color: #222;
}

.btn-categorie.active {
  background: #333;
  color: #fff;
}

.btn-plus-toggle {
  background: none;
  border: none;
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 6px;
}

.btn-plus-toggle:hover {
  color: #003366;
}

.hidden {
  display: none;
}

.drapeau {
  width: 18px;
  height: auto;
  vertical-align: middle;
  border: 1px solid #000;
  box-sizing: border-box;
}

.input-avec-prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prefix-dynamique {
  min-width: 24px;
  font-weight: bold;
}

.label-suffixe {
  color: #666;
  font-weight: normal;
  font-size: 0.9em;
}

@media (max-width: 980px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .category-block {
    padding: 22px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .actions {
    padding: 22px 18px;
  }

  .btn {
    width: 100%;
  }
}
.device-gallery {
    display: flex;
    gap: 14px;
    align-items: stretch;
    padding: 10px;
}

.device-gallery > a {
    flex: 1;
}

.main-photo {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 14px;
    cursor: zoom-in;
}

.photo-thumbs-vertical {
    width: 110px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.photo-thumbs-vertical a {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.18);
    background: #f6efe2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-thumbs-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-more {
    font-weight: bold;
    color: #1d120a;
    text-align: center;
    padding: 8px;
    background: rgba(217,170,79,.35);
}
.hidden-gallery-item {
    display: none;
}

.photo-thumbs-vertical a.hidden-gallery-item {
    display: none !important;
}

.thumb-more.active-thumb {
    border: 2px solid var(--gold-500);
    box-shadow: 0 0 0 3px rgba(198,146,52,.25);
}
.photo-thumbs-vertical a.active-thumb {
    border: 3px solid red !important;
}
.texte-multiligne {
    white-space: pre-line;
}
.search-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.search-button-secondary {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #d49a2a;
    color: #d49a2a;
}

.search-home {
    background: #c7b08b;
    border: 2px solid #d49a2a;
    border-radius: 24px;
    padding: 46px;
    margin: 50px auto;
    max-width: 1180px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
    color: #251507;
}

.search-home-header {
    text-align: center;
    margin-bottom: 38px;
}

.search-home-icon {
    font-size: 64px;
    color: #d49a2a;
    margin-bottom: 10px;
}

.search-home-title {
    color: #251507;
    font-size: 2.4rem;
    margin: 0;
}

.search-option {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 28px;
    align-items: center;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(212,154,42,0.35);
    border-radius: 16px;
    padding: 28px 34px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.search-option-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fffaf0;
    border: 1px solid rgba(212,154,42,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.search-option h3 {
    margin: 0 0 10px 0;
    color: #251507;
    font-size: 1.8rem;
}

.search-option p {
    margin: 0 0 20px 0;
    color: #3a2615;
}

.search-assisted-form {
    display: flex;
    gap: 16px;
}

.search-assisted-form .search-input {
    flex: 1;
    padding: 15px 18px;
    border-radius: 8px;
    border: 1px solid #d49a2a;
    background: #fff;
    font-size: 1rem;
}

.search-assisted-form button,
.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d49a2a;
    color: #120900;
    border: none;
    border-radius: 10px;
    padding: 15px 24px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.search-assisted-form button:hover,
.search-button:hover {
    background: #e3ad3d;
    box-shadow: 0 0 18px rgba(212,154,42,0.35);
}

.search-help {
    margin-top: 14px;
    color: #8a5b12;
    font-size: 0.95rem;
}

.search-separator {
    text-align: center;
    color: black;
    margin: 26px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.search-separator span::before,
.search-separator span::after {
    content: "";
    display: inline-block;
    width: 45px;
    height: 1px;
    background: black;
    vertical-align: middle;
    margin: 0 14px;
}

@media (max-width: 760px) {
    .search-home {
        padding: 28px 18px;
    }

    .search-option {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .search-option-icon {
        margin: 0 auto;
    }

    .search-assisted-form {
        flex-direction: column;
    }
}
.search-assisted-form {
    position: relative;
}
.device-title-row {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-bottom: 26px;
}

.home-inline-button {
    width: 54px;
    height: 54px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(45,20,0,0.78);

    border: 1px solid rgba(212,154,42,0.38);

    color: #d49a2a;

    font-size: 20px;

    text-decoration: none;

    box-shadow:
        0 0 18px rgba(0,0,0,0.35),
        inset 0 0 10px rgba(255,190,80,0.06);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.home-inline-button:hover {
    transform: scale(1.06);

    border-color: rgba(255,210,120,0.7);

    box-shadow:
        0 0 22px rgba(212,154,42,0.18);
}
.home-inline-button {
    flex-shrink: 0;
}
.resultat_titre{
	color:#FFC;
}
.listes-page {
    margin-top: 40px;
}

.alpha-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 24px 0 30px;
}

.alpha-tabs a {
    min-width: 32px;
    padding: 8px 10px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(212,154,42,0.35);
    color: #d49a2a;
    text-decoration: none;
    background: rgba(45,20,0,0.55);
}

.alpha-tabs a.active,
.alpha-tabs a:hover {
    background: #d49a2a;
    color: #120900;
}

.listes-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
}

.listes-card {
    background: #fffaf0;
    border: 1px solid rgba(212,154,42,0.45);
    border-radius: 18px;
    padding: 26px;
    color: #251507;
}

.listes-card h2 {
    margin-top: 0;
    color: #251507;
}

.brand-list,
.model-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-item,
.model-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #251507;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(212,154,42,0.18);
}

.brand-item:hover,
.model-item:hover {
    background: #f1dfbd;
}

.brand-item em {
    color: #8a5b12;
    font-style: normal;
}

@media (max-width: 850px) {
    .listes-layout {
        grid-template-columns: 1fr;
    }
}
.device-nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.form-row-groupe .groupe-inputs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.groupe-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.groupe-input-label {
    font-size: 0.9rem;
    color: #6a4a24;
}

.groupe-input input {
    width: 90px;
}

/* =========================================================
   BLOC FORUM DISCOURSE
========================================================= */

.forum-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.forum-panel {
    padding: 2rem;
}

.forum-intro {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    color: #ffe0be;
}

/* Force le widget Discourse à occuper toute la largeur */
.forum-topics-wrapper,
.forum-topics-wrapper d-topics-list {
    display: block;
    width: 100%;
    max-width: none;
}

/* Cible les éléments injectés par Discourse */
.forum-topics-wrapper d-topics-list > *,
.forum-topics-wrapper .topics-list,
.forum-topics-wrapper .topic-list,
.forum-topics-wrapper table,
.forum-topics-wrapper tbody,
.forum-topics-wrapper tr {
    width: 100%;
    max-width: none;
}

/* Si le rendu est en blocs/liste */
.forum-topics-wrapper ul,
.forum-topics-wrapper ol,
.forum-topics-wrapper li {
    width: 100%;
    max-width: none;
}

/* Version template=complete : éviter la colonne compressée */
.forum-topics-wrapper .topic-list-item,
.forum-topics-wrapper .topic-list-data,
.forum-topics-wrapper .main-link,
.forum-topics-wrapper .link-top-line {
    width: 100%;
    max-width: none;
}

/* Les cellules doivent pouvoir s'étaler */
.forum-topics-wrapper td {
    width: auto;
}

/* La colonne principale prend le maximum */
.forum-topics-wrapper td.main-link,
.forum-topics-wrapper .main-link {
    width: 100%;
}

.search-home-light {
    background: rgba(199, 176, 139, 0.82);
    border: 1px solid rgba(212,154,42,0.55);
    border-radius: 18px;
    padding: 34px 42px;
}

.search-home-light .search-home-header {
    margin-bottom: 26px;
}

.search-home-light .search-home-icon {
    font-size: 42px;
    margin-bottom: 4px;
}

.search-home-light .search-home-title {
    font-size: 2rem;
}

.search-choice {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    align-items: start;
    padding: 22px 0;
}

.search-choice-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fffaf0;
    border: 1px solid rgba(212,154,42,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #251507;
}

.search-choice h3 {
    margin: 0 0 6px;
    color: #251507;
    font-size: 1.35rem;
}

.search-choice p {
    margin: 0 0 14px;
    color: #3a2615;
}

.search-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37,21,7,0.28),
        transparent
    );
}

.search-participer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(37,21,7,0.25);
    color: #251507;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
}

.search-participer strong {
    font-size: 1.1rem;
}

.search-participer span {
    color: #3a2615;
}

.search-participer .search-button {
    margin-left: auto;
}

@media (max-width: 760px) {
    .search-home-light {
        padding: 26px 20px;
    }

    .search-choice {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .search-choice-icon {
        margin: 0 auto;
    }

    .search-choice-content {
        text-align: center;
    }

    .search-participer {
        text-align: center;
        justify-content: center;
    }

    .search-participer .search-button {
        margin-left: 0;
    }
}
.search-home-balanced {
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.78), transparent 58%),
        #f4ead8;
    border: 1px solid rgba(212,154,42,0.75);
    border-radius: 20px;
    padding: 42px 58px;
    color: #251507;
}

.search-home-balanced .search-home-header {
    text-align: center;
    margin-bottom: 34px;
}

.search-home-balanced .search-home-icon {
    font-size: 48px;
    margin-bottom: 6px;
}

.search-home-balanced .search-home-title {
    font-size: 2.2rem;
    margin: 0;
}

.search-choice {
    display: grid;
    grid-template-columns: 82px minmax(260px, 1.2fr) 280px minmax(220px, 0.8fr);
    gap: 28px;
    align-items: center;
    padding: 26px 0;
}

.search-choice-assisted {
    grid-template-columns: 82px minmax(360px, 1.3fr) minmax(260px, 0.8fr);
}

.search-choice-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #fffaf0;
    border: 1px solid rgba(212,154,42,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.search-choice h3 {
    margin: 0 0 8px;
    color: #120900;
    font-size: 1.55rem;
}

.search-choice p {
    margin: 0;
    color: #3a2615;
    font-size: 1rem;
}

.search-assisted-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px;
    gap: 16px;
    margin-top: 18px;
}

.search-assisted-form .search-input {
    min-height: 58px;
    border: 1px solid #d49a2a;
    border-radius: 10px;
    background: #fff;
    color: #251507;
}

.search-button {
    min-height: 58px;
    border-radius: 10px;
    padding: 0 26px;
    background: #d49a2a;
    color: #120900;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.search-choice-action {
    display: flex;
    justify-content: center;
}

.search-choice-action .search-button {
    width: 100%;
    max-width: 280px;
}

.search-choice-side {
    position: relative;

    padding-left: 34px;

    color: #4a3522;
    font-size: 1.05rem;
    line-height: 1.55;

    display: flex;
    align-items: center;
}

.search-choice-side::before {
    content: "";

    position: absolute;
    left: 0;
    top: -12px;
    bottom: -12px;

    width: 1px;

    background: rgba(37,21,7,0.18);
}

.search-help {
    margin-top: 14px;
    color: #9a6815;
    font-size: 0.95rem;
}

.search-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37,21,7,0.22),
        transparent
    );
}

.search-participer {
    margin-top: 34px;
    padding: 28px 34px;
    border-radius: 14px;
    background: rgba(199,176,139,0.28);
    display: grid;
    grid-template-columns: 76px 1fr 280px;
    gap: 24px;
    align-items: center;
}

.search-participer-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #fffaf0;
    border: 1px solid rgba(212,154,42,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a66d10;
}

.search-participer-text strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 6px;
    color: #120900;
}

.search-participer-text span {
    color: #3a2615;
}

.search-button-secondary {
    background: transparent;
    border: 2px solid #d49a2a;
    color: #9a6815;
}
.search-choice-icon i,
.search-participer-icon i {
    font-size: 24px;
    color: #7a4d00;
}
.search-home-balanced .search-input-wrap::after {
    display: none;
}
.admin-signalements-banner {
    background: #d97706;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.admin-signalements-banner a {
    color: #fff;
    text-decoration: none;
}

.admin-signalements-banner a:hover {
    text-decoration: underline;
}
/* Chrome, Edge, Safari */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

@media (max-width: 760px) {

    .search-section {
        width: calc(100% - 20px);
        padding: 24px 0 36px;
    }

    .search-home,
    .search-home-balanced {
        width: 100%;
        max-width: 100%;
        margin: 24px auto;
        padding: 24px 14px;
        border-radius: 16px;
        overflow: hidden;
    }

    .search-home-balanced .search-home-title {
        font-size: 1.55rem;
        line-height: 1.15;
    }

    .search-choice,
    .search-choice-assisted {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
        padding: 22px 0;
    }

    .search-choice-icon {
        margin: 0 auto;
    }

    .search-assisted-form {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .search-input-wrap,
    .search-input,
    .search-button {
        width: 100%;
        max-width: 100%;
    }

    .search-choice-side {
        padding-left: 0;
        font-size: .92rem;
        text-align: center;
        justify-content: center;
    }

    .search-choice-side::before {
        display: none;
    }

    .search-participer {
        grid-template-columns: 1fr;
        padding: 22px 14px;
        text-align: center;
    }

    .search-participer-icon {
        margin: 0 auto;
    }

    .search-participer .search-button {
        width: 100%;
    }

    .autocomplete-results {
        max-width: 100%;
        width: 100%;
        left: 0;
        right: 0;
    }
}
@media (max-width: 760px) {

    .benefits,
    .footer-features,
    .search-choice-side {
        display: none;
    }

}
.coche-option,
.option-option {
    white-space: nowrap;
}
.coche-groupe,
.option-groupe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.coche-option,
.option-option {
    white-space: nowrap;
}
/* =========================================================
   BLOC DON PAYPAL - Accueil
========================================================= */

.donation-section {
    padding: 10px 0 70px;
}

.donation-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: center;

    padding: 38px 44px;

    border: 1px solid var(--line);
    border-radius: 20px;

    background:
        radial-gradient(circle at 12% 0%, rgba(217,170,79,.18), transparent 42%),
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(0,0,0,.18)),
        rgba(43,26,15,.72);

    box-shadow: var(--shadow);
}

.donation-content h2 {
    margin: 20px 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    color: var(--cream-100);
}

.donation-content p {
    max-width: 720px;
    margin: 0 0 14px;
    color: var(--cream-100);
    font-size: 1.05rem;
    line-height: 1.7;
}

.donation-thanks {
    color: var(--gold-400) !important;
    font-weight: 800;
}

.donation-paypal {
    padding: 0;
    border-radius: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;

    display: flex;
    justify-content: center;
}

.donation-paypal > div {
    width: 100%;
    max-width: 300px;
}

.donation-paypal iframe {
    max-width: 100%;
}

@media (max-width: 860px) {
    .donation-card {
        grid-template-columns: 1fr;
        padding: 30px 22px;
        text-align: center;
    }

    .donation-card .section-kicker {
        justify-content: center;
    }

    .donation-content p {
        margin-inline: auto;
    }

    .donation-paypal {
        max-width: 420px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 520px) {
    .donation-section {
        padding-bottom: 44px;
    }

    .donation-card {
        padding: 26px 16px;
    }

    .donation-paypal {
        padding: 16px;
    }
}
.forum-card {
    background: rgba(24, 13, 7, 0.82);
    border: 1px solid rgba(212, 154, 42, 0.7);
    border-radius: 14px;
    padding: 22px;
    margin: 32px auto;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

.forum-card-header h2 {
    margin: 0 0 16px;
    color: #f2b83b;
    font-size: 1.25rem;
}

.forum-list {
    display: grid;
    gap: 10px;
}

.forum-topic {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 12px 14px;
    border-radius: 10px;

    background: #fffaf0;
    border: 1px solid rgba(212,154,42,.28);

    color: #1d120a;
    text-decoration: none;

    transition: background .15s ease, transform .15s ease, border-color .15s ease;
}

.forum-topic:hover {
    background: #fff4d8;
    border-color: rgba(212,154,42,.75);
    transform: translateY(-1px);
}

.forum-topic-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(212,154,42,.45);
    background: #ead9b2;
}

.forum-topic-main {
    min-width: 0;
}

.forum-topic-title {
    display: block;
    color: #120b06;
    font-weight: 800;
    line-height: 1.25;
}

.forum-topic-meta {
    display: block;
    margin-top: 4px;
    font-size: 0.86rem;
    color: #8a6a45;   /* date + messages */
}

.forum-empty {
    margin: 0;
    color: #f5e6c8;
}

.forum-actions {
    margin-top: 18px;
}

.forum-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 10px;

    background: #d49a2a;
    border: 1px solid #d49a2a;

    color: #1d120a;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;

    transition: all .15s ease;
}

.forum-button:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .forum-card {
        padding: 16px;
    }

    .forum-topic {
        align-items: flex-start;
    }

    .forum-topic-avatar {
        width: 38px;
        height: 38px;
    }
}
.forum-topic-author {
    color: #5c3a14;
    font-weight: 700;
}

.forum-topic-date {
    color: #9b7a52;
}

.forum-topic-blurb {
    display: block;
    margin-top: 6px;

    color: #4d4d4d;   /* gris plus neutre */
    font-size: 0.88rem;
    line-height: 1.35;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.home-search-panel {
    display: flex;
    flex-direction: column;
}

.home-search-panel h2 {
    margin: 18px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    line-height: 1.05;
}

.home-search-form {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 12px;
}

.home-search-form .search-input {
    min-height: 52px;
    padding: 0 18px;
}

.home-search-form .search-button {
    min-height: 52px;
}

.home-search-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.home-search-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    border-radius: 999px;
    border: 1px solid rgba(217,170,79,.45);

    color: var(--gold-400);
    font-size: 1.15rem;
    font-weight: 700;

    transition: all .15s ease;
}

.home-search-links a:hover {
    background: rgba(217,170,79,.12);
    transform: translateY(-1px);
}

.home-search-panel .search-input-wrap::after {
    display: none;
}
/* Accueil : recherche compacte dans la grille haute */

.main-grid {
    margin-top: 0;
    margin-bottom: 34px;
}

.home-search-panel {
    min-width: 0;
}

.home-search-panel h2 {
    margin: 18px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.05;
    color: var(--cream-100);
}

.home-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 10px;
    align-items: center;
}

.home-search-form .search-input {
    min-height: 46px;
    padding: 0 14px;
    font-size: .95rem;
}

.home-search-form .search-button {
    min-height: 46px;
    padding: 0 14px;
    font-size: .78rem;
}

.home-search-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-search-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 0 18px;

    border-radius: 999px;
    border: 1px solid rgba(217,170,79,.55);

    color: var(--gold-400);
    font-size: .95rem;
    font-weight: 800;

    transition: background .15s ease, transform .15s ease, border-color .15s ease;
}

.home-search-links a i {
    font-size: .9rem;
}

.home-search-links a:hover {
    background: rgba(217,170,79,.12);
    border-color: rgba(217,170,79,.85);
    transform: translateY(-1px);
}

.home-search-link-add {
    margin-top: 10px;
}

.home-search-panel .search-input-wrap::after {
    display: none;
}

.forum-card {
    margin-top: 34px;
    margin-bottom: 34px;
}

@media (max-width: 960px) {
    .home-search-form {
        grid-template-columns: 1fr;
    }
}
/* Correctif centrage accueil */

.container.forum-card {
    margin: 34px auto;
}

.container.main-grid {
    margin-left: auto;
    margin-right: auto;
}

.container.footer-features,
.container.donation-section {
    margin-left: auto;
    margin-right: auto;
}
.home-search-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.home-search-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream-100);
    font-size: .92rem;
    line-height: 1.35;
}

.home-search-benefit .benefit-icon {
    color: var(--gold-400);
    font-size: 1.5rem;
    flex: 0 0 auto;
}
@media (max-width: 768px) {

    .home-search-panel {
        order: -1;
    }
        .home-search-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
    }

}
@media (max-width: 960px) {

    .main-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .main-grid > .home-search-panel {
        order: -1 !important;
    }

    .main-grid > .blog {
        order: 2 !important;
    }
}
.search-no-result {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff7e6;
    border: 1px solid #e0a22a;
    color: #2b2118;
    line-height: 1.45;
    font-size: 0.95rem;
}

.search-no-result strong {
    color: #7a4b00;
}

.search-no-result a {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    color: #8a5200;
    text-decoration: underline;
}
.forum-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.forum-topic-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f0d08a;
    color: #3b2500;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}