/* public/assets/style.css - simple, moderne et responsive */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #c59327;
  --text: #222;
  --muted: #6b7280;
  --container: 100%;
  --gap: 1rem;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}
body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  background: #ffffff2f;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.1);
  transition: box-shadow 0.9s ease-in-out;
  transition: background 0.7s ease-in-out;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.brand img {
  width: 180px;
  height: 180px;
}
.main-nav {
  display: flex;
  gap: 1rem;
  overflow: hidden;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem;
  border-radius: 6px;
}
.main-nav a:hover {
  color: var(--accent);
  background: rgba(14, 165, 164, 0.06);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.25rem;
}

.hero {
  padding: 3rem 1rem;
  background: linear-gradient(90deg, rgb(180 122 13 / 31%), transparent);
  border-radius: 12px;
  margin: 1rem 0;
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: black;
  text-decoration: none;
  margin-top: 0.75rem;
  cursor: pointer;
}

.btn:hover {
  background: #b07e1f;
  box-shadow:
    #0f1724 0px 4px 6px -1px,
    #0f1724 0px 2px 4px -1px;
  transition: ease-out 0.5s;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.features article {
  background: var(--card);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgb(16 24 40 / 27%);
}

.service-list {
  list-style: none;
  padding: 0;
}
.service-list li {
  background: var(--card);
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 8px;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
}
.contact-form label {
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid #e6e9ee;
}
.alert {
  padding: 0.75rem;
  border-radius: 8px;
}
.alert.error {
  background: #fff5f5;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.alert.success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #065f46;
}

.site-footer {
  background: #0f1724;
  color: #cbd5e1;
  padding: 2rem 3rem;
  margin-top: 2rem;
  position: relative;
  bottom: 0;
  width: 100%;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}
.footer-grid a {
  color: inherit;
  text-decoration: none;
}
.footer-grid a:hover {
  text-decoration: underline;
  color: var(--accent);
  text-decoration: none;
}
.footer-grid h4 {
  margin-top: 0;
}
copyright {
  display: block;
  margin-top: 1rem;
}

/* responsive */
@media (max-width: 800px) {
  .main-nav {
    position: absolute;
    right: 1rem;
    top: 64px;
    background: var(--card);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.1);
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}
/* --- Mobile hamburger & mobile nav --- */
.nav-toggle {
  background: transparent;
  border: 0;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  display: none;
  align-items: center;
}

/* hamburger lines */
.hamburger {
  display: inline-block;
  width: 28px;
  height: 20px;
  position: relative;
}
.hamburger span {
  position: absolute;
  height: 2px;
  width: 100%;
  left: 0;
  background-color: #f5a700;
  display: block;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    top 0.25s ease,
    opacity 0.2s;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 9px;
}
.hamburger span:nth-child(3) {
  top: 18px;
}

/* Mobile nav container (hidden by default) */
.mobile-nav {
  display: none;
  position: fixed;
  top: 120px; /* below header */
  right: 0;
  left: 0;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
  z-index: 40;
  padding: 1rem;
  transform-origin: top center;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.mobile-nav .mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav a {
  display: block;
  padding: 0.6rem 0;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
}
.mobile-nav a:hover {
  background: rgba(14, 165, 164, 0.06);
}

/* when open (we'll toggle classes with JS) */
.mobile-nav.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Animated hamburger -> X when open */
.nav-toggle.open .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.open .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Responsive breakpoints */
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .container.header-inner {
    align-items: center;
  }
}

/* --- Products grid --- */
.products-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.product-card {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.04);
}
.product-card .product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.product-media {
  height: 160px;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}
.product-body h3 {
  margin: 0;
  font-size: 1.05rem;
}
.product-body .excerpt {
  font-size: 0.95rem;
  color: var(--muted);
}
.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.price {
  font-weight: 700;
}
.btn.small {
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* page-sitemap specific */
.page-sitemap .page-hero {
  padding: 2rem 0;
  background: linear-gradient(90deg, #fff, #fbfbfb);
  border-bottom: 1px solid #eee;
}

.page-sitemap .lede {
  color: #555;
  margin-top: 0.4rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.sitemap-quick {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 20, 40, 0.04);
}

.sitemap-quick ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-quick li {
  margin: 0.6rem 0;
}

.sitemap-list .sitemap-section {
  background: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.sitemap-list h3 {
  margin-top: 0;
}

.print-help {
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

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

  .sitemap-quick {
    order: 2;
  }
}

/* Contact form styling (Ecoserve theme) */
.page-header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent) 90%,
    #fbbf24
  );
  color: white;
  border-radius: 12px;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.contact-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-intro h2,
.contact-intro h3 {
  margin-bottom: 0.6rem;
}

.benefits li {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.contact-form-section {
  background-color: #c59327;
  padding: 2rem;
  border-radius: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-intro {
    grid-template-columns: 1fr;
  }
}

/* ===== Modal ===== */
#simuModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.modal-content {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  padding: 40px 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 950px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.5s ease forwards;
  transform: translateY(-20px);
}

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

/* Close button */
.btn-close {
  position: absolute;
  top: 40px;
  right: 10px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #ff3c7b;
  transition: transform 0.2s ease;
}
.btn-close:hover {
  transform: rotate(90deg);
}

/* ===== Steps ===== */
.step {
  display: none;
  margin-bottom: 25px;
}
.step.active {
  display: block;
}

/* Option cards */
.option-card {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 18px 15px;
  margin: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fafafa;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.option-card:hover {
  border-color: orange;
  background: #e0f7ff;
  transform: translateY(-3px) scale(1.03);
}
.option-card.active {
  border-color: #ff3c7b;
  background: #ffe5ed;
  box-shadow: 0 6px 15px rgba(255, 60, 123, 0.2);
  transform: scale(1.05);
}

/* Buttons */
#prevBtn,
#nextBtn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
  transition: all 0.25s ease;
  font-weight: 600;
}
#prevBtn {
  background-color: #f0f0f0;
  color: #555;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#prevBtn:hover {
  background-color: #e0e0e0;
}
#nextBtn {
  background: linear-gradient(135deg, orange, darkorange);
  color: #fff;
  box-shadow: 0 6px 15px rgba(79, 195, 247, 0.3);
}
#nextBtn:hover {
  background: linear-gradient(135deg, darkorange, orange);
  transform: translateY(-2px);
}

/* Progress bar */
#progressContainer {
  width: 100%;
  background-color: #eee;
  border-radius: 10px;
  margin-bottom: 25px;
  height: 14px;
  overflow: hidden;
}
#progressBar {
  height: 14px;
  background: linear-gradient(90deg, #ff3c7b, #ff7b00);
  width: 0%;
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Récapitulatif */
#recap {
  max-height: 1420px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.05);
}
#recap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#recap li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

/* Form inputs */
input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: all 0.25s ease;
}
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: orange;
  box-shadow: 0 0 10px rgba(79, 195, 247, 0.2);
  outline: none;
}
input[type="checkbox"],
input[type="radio"] {
  margin-right: 8px;
  accent-color: #ff3c7b;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    padding: 25px 20px;
    top: 85px;
  }
  .option-card {
    min-width: 90px;
    padding: 12px;
  }
  #prevBtn,
  #nextBtn {
    width: 100%;
    margin-top: 12px;
  }
}

/* ===== Bouton simulateur flottant ===== */
.btn-simulator {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;

  background: linear-gradient(135deg, #ff7b00, #ff9a2f);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 50px;

  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;

  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 123, 0, 0.35);
  transition: all 0.3s ease;
}

/* Hover desktop */
.btn-simulator:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 123, 0, 0.5);
}

/* Effet clic */
.btn-simulator:active {
  transform: scale(0.96);
}

/* ===== Responsive mobile ===== */
@media (max-width: 768px) {
  .btn-simulator {
    bottom: 15px;
    right: 15px;

    padding: 12px 18px;
    font-size: 14px;
    border-radius: 40px;

    box-shadow: 0 8px 18px rgba(255, 123, 0, 0.4);
  }
}

/** COOKIES **/
#cookie-consent {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  text-align: center;
  font-family: sans-serif;
  font-size: 14px;
  z-index: 9999;
  transition:
    bottom 0.6s ease,
    opacity 0.7s ease;
  opacity: 0;
}

#cookie-consent.show {
  bottom: 30px;
  opacity: 1;
}

#cookie-consent button {
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
  transition: background 0.2s;
}

#c #cookie-consent button#accept-cookies {
  background: #363636;
  color: #fff;
}

#cookie-consent button#accept-cookies:hover {
  background: olive;
}

#cookie-consent button#decline-cookies {
  background: #fff;
  color: black;
}

#cookie-consent button#decline-cookies:hover {
  background: maroon;
}

#cookie-consent a {
  color: #fff;
  text-decoration: underline;
}
/** PRODUIT **/
.product-detail {
  padding: 2rem 0;
}

.product-detail img {
  display: block;
  margin-bottom: 1rem;
}

.product-detail .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #c59327;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

/* LEGAL */
.page-legal .page-hero {
  padding: 2rem 0;
  background: linear-gradient(90deg, #fff, #fcfcfc);
  border-bottom: 1px solid #eee;
}

.legal-card {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 20, 40, 0.03);
  margin-bottom: 1rem;
}

.content-legal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.legal-update {
  margin-top: 1rem;
  color: #666;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .content-legal {
    grid-template-columns: 1fr;
  }
}

/*produits */

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  align-items: center;
}

.product-detail img {
  max-width: 100%;
  width: 300px;
  border-radius: 12px;
  object-fit: contain;
}

.product-detail p {
  font-size: 1rem;
  color: #333;
  margin: 0.3rem 0;
}

.product-detail strong {
  color: var(--accent);
  /* bleu Ecoserve */
}

/* ===== BACK BUTTON ===== */
.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #c59327;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #946a0f;
  transform: translateY(-2px);
}

/* ===== SUGGESTIONS CAROUSEL ===== */
.suggestions-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 15px 0;
  scroll-behavior: smooth;
}

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

.suggestion-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.suggestion-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid #c59327;
}

.suggestion-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: #333;
  padding: 10px;
  height: 100%;
}

.suggestion-card img {
  width: 200px;
  height: 200px;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  margin-bottom: 10px;
}

.suggestion-card h4 {
  font-size: 1rem;
  margin: 5px 0;
  text-align: center;
}

.suggestion-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 2px 0;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-detail {
    align-items: center;
    text-align: center;
  }

  .product-detail img {
    width: 80%;
  }

  .suggestion-card img {
    width: 160px;
    height: 160px;
  }

  .suggestions-carousel {
    gap: 15px;
  }
}

/* sitemap */

/* page-sitemap specific */
.page-sitemap .page-hero {
  padding: 2rem 0;
  background: linear-gradient(90deg, #fff, #fbfbfb);
  border-bottom: 1px solid #eee;
}

.page-sitemap .lede {
  color: #555;
  margin-top: 0.4rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.sitemap-quick {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(10, 20, 40, 0.04);
}

.sitemap-quick ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-quick li {
  margin: 0.6rem 0;
}

.sitemap-list .sitemap-section {
  background: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.sitemap-list h3 {
  margin-top: 0;
}

.print-help {
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

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

  .sitemap-quick {
    order: 2;
  }
}
/* Layout du récap : colonne résultats / colonne client */
#recap .recap-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

#recap .recap-left {
  flex: 1;
}

#recap .recap-right {
  width: 260px;
  border-left: 1px solid #eee;
  padding-left: 15px;
}

#recap h3 {
  margin-top: 0;
}
/**** */

button {
  cursor: pointer;
}

button:hover {
  background: #946a0fff;
}

.btn-primary {
  display: block;
  width: calc(100% - 20px);
  margin: 10px;
  padding: 10px;
  text-align: center;
  background-color: #c59327;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.5s ease,
    transform 0.5s ease;
  /* transition en fondu + translation */
}

.btn.btn-primary:hover {
  background: #946a0fff;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.product-card:hover .btn-primary {
  opacity: 1;
  /* fade-in */
  transform: translateY(0);
  /* remonte le bouton */
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-height: 600px;
  overflow: auto;
}

.product-card {
  background: #88888859;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: auto;
}

.product-image {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  transition: all 0.5s ease-out;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-title {
  font-size: 1.1rem;
  margin: 0.8rem 1rem 0.4rem 1rem;
}

.product-excerpt {
  font-size: 0.9rem;
  color: #666;
  margin: 0 1rem 0.8rem 1rem;
  flex-grow: 1;
}

.product-price {
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0 1rem 1rem 1rem;
  color: #c59327;
  background: #c5932712;
  border: 1px solid;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 110px;
  transition: all 0.5s ease;
}

.product-card:hover .product-price {
  background: #946a0fff;
  color: #fff;
  border-color: #946a0fff;
  transition:
    background 0.9s ease,
    color 1.9s ease,
    border-color 0.9s ease;
}

.product-card:hover .product-image {
  border-radius: 10%;
  scale: 1.12;
  transition: all 0.5s ease-out;
  z-index: 100;
}

.filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filters-form input,
.filters-form select {
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

#search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  background: #1e1e1e59;
  /* Fond sombre */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#search-form input,
#search-form select {
  flex: 1 1 180px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #68410c;
  color: #fff;
  font-size: 15px;
  transition: all 0.25s ease;
}

#search-form input:hover,
#search-form select:hover {
  border-color: #555;
}

#search-form input::placeholder {
  color: #888;
}

#search-form input:focus,
#search-form select:focus {
  border-color: #4fc3f7;
  /* bleu clair thème boutique */
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.4);
  outline: none;
}

#search-form button {
  padding: 12px 20px;
  background: linear-gradient(135deg, #946a0f, #c59327);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease;
  flex: 1 1 150px;
}

#search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(255 255 255 / 35%);
}

#search-form button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Responsive : colonne sur petits écrans */
/* Mode mobile */
@media (max-width: 600px) {
  #search-form {
    flex-direction: column;
  }

  #search-form input,
  #search-form select,
  #search-form button {
    flex: 1 1 100%;
  }
}

.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*** OVERLAY PRODUITS ***/
.checkbox-group {
  display: flex;
  justify-content: center;
  gap: 40px;
  overflow: auto;
  margin: 50px 0px;
}
