/*
Theme Name:   Childz Theme
Theme URI:    https://childz.fr
Description:  Thème enfant pour Childz.fr — Marketplace C2C vêtements outdoor enfants
Author:       Childz
Template:     twentytwentyfive
Version:      1.0.0
Text Domain:  childz-theme
*/

/* =============================================
   VARIABLES
   ============================================= */
:root {
  --cz-primary:     #1B6E5A;
  --cz-primary-dk:  #155549;
  --cz-orange:      #E86820;
  --cz-dark:        #1A1A1A;
  --cz-gray:        #F2F2F2;
  --cz-border:      #DEDEDE;
  --cz-white:       #FFFFFF;
  --cz-muted:       #888888;
}

/* =============================================
   RESET HEADER PARENT
   ============================================= */
.wp-site-blocks > header {
  padding: 0 !important;
  margin: 0 !important;
}

/* Supprime le block-gap WordPress au-dessus du carousel nouveautés */
.wp-block-template-part:has(.cz-news) {
  margin-block-start: 0;
  margin-top: 0;
}

/* =============================================
   HEADER — STRUCTURE GÉNÉRALE
   ============================================= */
.cz-header {
  background: var(--cz-white);
  border-bottom: 1px solid var(--cz-border);
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
}

/* ---- Ligne 1 : icônes | logo | VENDRE ---- */
.cz-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.cz-header__icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cz-header__icons a {
  color: var(--cz-primary);
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.cz-header__icons svg {
  width: 28px;
  height: 28px;
}

/* Badge panier */
.cz-cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--cz-orange);
  color: var(--cz-white);
  font-size: 0.6rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s;
}

.cz-cart-badge.visible {
  opacity: 1;
}

.cz-header__logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cz-dark);
  text-decoration: none;
  letter-spacing: -0.5px;
  line-height: 1;
}

.cz-header__logo:hover { color: var(--cz-primary); }

.cz-header__btn-vendre a {
  display: inline-block;
  background: var(--cz-primary);
  color: var(--cz-white);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}

.cz-header__btn-vendre a:hover { background: var(--cz-primary-dk); }

/* ---- Ligne 2 : tagline ---- */
.cz-header__tagline {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  padding: 0 20px 10px;
  color: var(--cz-dark);
  margin: 0;
}

.cz-header__tagline::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--cz-primary);
  margin: 8px auto 0;
}

/* ---- Ligne 3 : burger + barre de recherche ---- */
.cz-header__search-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px 10px;
}

.cz-header__burger {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cz-header__burger svg {
  width: 28px;
  height: 28px;
  stroke: #555;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.cz-header__search {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  background: var(--cz-gray);
  border-radius: 50px;
  padding: 9px 16px;
  gap: 8px;
}

.cz-header__search svg {
  width: 19px;
  height: 19px;
  stroke: #666;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.cz-header__search input[type='search'] {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  color: var(--cz-dark);
  -webkit-appearance: none;
}

.cz-header__search input[type='search']::placeholder {
  color: var(--cz-muted);
}

/* ---- Ligne 4 : filtres rapides ---- */
.cz-header__filters {
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cz-header__filters::-webkit-scrollbar { display: none; }

.cz-header__filters a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cz-dark);
  text-decoration: none;
  padding: 0 14px;
  border-right: 1px solid var(--cz-border);
  white-space: nowrap;
  transition: color 0.15s;
}

.cz-header__filters a:first-child { padding-left: 0; }
.cz-header__filters a:last-child  { border-right: none; }
.cz-header__filters a:hover,
.cz-header__filters a.active      { color: var(--cz-primary); }

/* ── Mobile <768px : filtres centrés, 13px, espacements réduits ── */
@media (max-width: 767px) {
  .cz-header__filters {
    justify-content: center;
    overflow-x: visible;
    padding: 0 8px 10px;
  }
  .cz-header__filters a {
    font-size: 13px;
    padding: 0 8px;
  }
}

/* =============================================
   NAV DRAWER (menu mobile)
   ============================================= */
.cz-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}

.cz-nav-drawer.open {
  visibility: visible;
  pointer-events: all;
}

.cz-nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity 0.25s;
}

.cz-nav-drawer.open .cz-nav-drawer__backdrop { opacity: 1; }

.cz-nav-drawer__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(280px, 80vw);
  background: var(--cz-white);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.cz-nav-drawer.open .cz-nav-drawer__panel { transform: translateX(0); }

.cz-nav-drawer__close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cz-dark);
  padding: 4px;
  margin-bottom: 16px;
}

.cz-nav-drawer__close svg {
  width: 24px;
  height: 24px;
  stroke: #2D7A5F;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.cz-nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cz-nav-drawer__list a {
  display: block;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cz-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--cz-border);
  transition: color 0.15s;
}

.cz-nav-drawer__list a:hover { color: var(--cz-primary); }

/* =============================================
   DESKTOP
   ============================================= */
@media (min-width: 768px) {
  .cz-header__top     { padding: 14px 32px; }
  .cz-header__tagline { font-size: 1.05rem; padding: 0 32px 12px; }
  .cz-header__search-row { padding: 0 32px 12px; }
  .cz-header__filters { padding: 0 32px 14px; }
  .cz-header__logo    { font-size: 2.1rem; }
}

@media (min-width: 1024px) {
  .cz-header__top,
  .cz-header__tagline,
  .cz-header__search-row,
  .cz-header__filters {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Grille 3 colonnes : logo toujours centré, icones proches */
  .cz-header__top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
  }

  .cz-header__icons {
    justify-self: end;
    margin-right: 36px;
  }

  .cz-header__logo {
    justify-self: center;
  }

  .cz-header__btn-vendre {
    justify-self: start;
    margin-left: 36px;
  }

  .cz-header__tagline {
    padding-left: 0;
    padding-right: 0;
    font-size: 1.1rem;
  }

  .cz-header__search-row {
    padding-left: 0;
    padding-right: 0;
    max-width: 640px;
  }

  .cz-header__filters {
    padding-left: 0;
    padding-right: 0;
    max-width: 1200px;
  }

  /* Hamburger visible sur desktop — ouvre le drawer */
  .cz-header__burger { display: flex; }
}


/* ================================================
   HERO CAROUSEL
   ================================================ */

.cz-hero {
  width: 100%;
  background: #0d0d0d;
  overflow: hidden;
}

.cz-hero__viewport {
  position: relative;
  overflow: hidden;
  height: 85vh;
  min-height: 320px;
  padding: 0;
  margin-bottom: 0;
}

.cz-hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  user-select: none;
}

.cz-hero__slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: block;
  font-size: 0;
  height: 100%;
}

.cz-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.cz-hero__label {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  transform: none;
  text-align: center;
  font-family: "Arial Black", Impact, Arial, sans-serif;
  font-size: clamp(2rem, 12vw, 4.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.cz-hero__btn {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 10px 38px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  color: #E86820;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s;
}

.cz-hero__btn:hover,
.cz-hero__btn:focus {
  background: rgba(255, 255, 255, 0.46);
  color: #c55810;
  outline: none;
}

.cz-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.cz-hero__arrow:hover {
  background: rgba(255, 255, 255, 0.45);
}

.cz-hero__arrow--prev { left: 10px; }
.cz-hero__arrow--next { right: 10px; }

.cz-hero__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 0 10px;
  background: #fff;
}

.cz-hero__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #E86820;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.cz-hero__dot--active {
  background: #E86820;
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .cz-hero__viewport {
    height: 75vh;
  }
  .cz-hero__label {
    font-size: clamp(3rem, 11vw, 6rem);
    bottom: 85px;
  }
  .cz-hero__btn {
    font-size: 1.05rem;
    padding: 11px 42px;
  }
}

@media (min-width: 1024px) {
  .cz-hero {
    margin: 0 40px;
    width: auto;
  }
  .cz-hero__viewport {
    height: clamp(500px, 65vh, 750px);
    min-height: unset;
  }
  .cz-hero__label {
    font-size: clamp(5rem, 9vw, 9rem);
    bottom: 90px;
  }
  .cz-hero__btn {
    font-size: 1.1rem;
    padding: 12px 46px;
    bottom: 28px;
  }
  .cz-hero__arrow {
    width: 42px;
    height: 42px;
    font-size: 2.1rem;
  }
  .cz-hero__arrow--prev { left: 20px; }
  .cz-hero__arrow--next { right: 20px; }
}


/* ── Mobile <768px : hero carousel ── */
@media (max-width: 767px) {

  /* 1. Supprime l'espace noir (overflow:hidden global sur .cz-hero) */
  .cz-hero__viewport {
    height: 72vh;
    min-height: 360px;
  }

  /* 2. Bouton centré — margin:auto sur position:absolute, sans transform */
  .cz-hero__btn {
    left: 0;
    right: 0;
    width: fit-content;
    margin: 0 auto;
    transform: none;
    bottom: 20px;
  }

  /* 4. Texte label entièrement visible */
  .cz-hero__label {
    overflow: visible;
    font-size: clamp(1.5rem, 9vw, 3rem);
    bottom: 64px;
  }

}

/* ================================================
   SECTION NOUVEAUTÉS
   ================================================ */

.cz-news {
  padding: 32px 0 20px;
  background: #fff;
}

.cz-news__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.cz-news__title {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 400;
  text-align: center;
  margin: 0 0 20px;
  color: #1a1a1a;
}

.cz-news__row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

/* Flèches — masquées sur mobile */
.cz-news__arrow {
  display: flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 38px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.9rem;
  color: #1a1a1a;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.cz-news__arrow:hover {
  color: var(--cz-primary, #1B6E5A);
}

/* Viewport scrollable */
.cz-news__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.cz-news__viewport::-webkit-scrollbar {
  display: none;
}

/* Track */
.cz-news__track {
  display: flex;
  gap: 8px;
}

/* Cartes */
.cz-news__card {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.cz-news__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.cz-news__img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--cz-primary, #1B6E5A);
  border-radius: 16px;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}

.cz-news__card-link:hover .cz-news__img-placeholder {
  opacity: 0.82;
}

.cz-news__card-title {
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  color: #1a1a1a;
}

/* .cz-news__card-state — styles définis plus bas */

.cz-news__card-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2D7A5F;
  margin-top: 4px !important;
}
.cz-news__card-price .woocommerce-Price-amount { color: #2D7A5F; }

/* CTA */
.cz-news__footer {
  text-align: center;
  padding: 22px 0 4px;
}

.cz-news__cta-link {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 1rem;
}

.cz-news__cta-link:hover {
  color: var(--cz-primary, #1B6E5A);
}

/* ── Tablette >=600px ─── */
@media (min-width: 600px) {
  .cz-news__track { gap: 10px; }
  .cz-news__card-title { font-size: 0.82rem; }
  .cz-news__card-state { font-size: 0.75rem; }
  .cz-news__card-price { font-size: 0.83rem; }
}

/* ── Desktop >=1024px ─── */
@media (min-width: 1024px) {
  .cz-news {
    padding: 48px 0 32px;
  }
  .cz-news__container {
    padding: 0 24px;
  }
  .cz-news__track { gap: 16px; }
  .cz-news__img-placeholder { border-radius: 20px; }
  .cz-news__card-title { font-size: 0.88rem; }
  .cz-news__card-state { font-size: 0.8rem; }
  .cz-news__card-price { font-size: 0.9rem; }
}


/* ── Mobile <600px : nouveautés — scroll horizontal ── */
@media (max-width: 599px) {
  .cz-news__track {
    display: flex;
    flex-direction: row;
    gap: 8px;
  }
  .cz-news__card {
    width: calc(50vw - 24px) !important;
    flex-shrink: 0;
  }
  .cz-news__img {
    aspect-ratio: 4 / 5;
  }
  .cz-news__img-placeholder {
    aspect-ratio: 4 / 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

/* ================================================
   SECTION COMMENT VENDRE
   ================================================ */

.cz-how {
  background: #EDF2EE;
  padding: 40px 0 48px;
}

.cz-how__container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.cz-how__title {
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  font-weight: 400;
  text-align: center;
  margin: 0 0 28px;
  color: #1a1a1a;
}

/* Grille 3 colonnes — toujours visible */
.cz-how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Carte */
.cz-how__card {
  text-align: center;
}

/* Zone icône : carré arrondi vert */
.cz-how__icon-wrap {
  background: var(--cz-primary, #1B6E5A);
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  width: 80%;
  max-width: 100px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cz-how__icon {
  width: 82%;
  height: auto;
  display: block;
  object-fit: contain;
}

.cz-how__card-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 5px;
  line-height: 1.3;
}

.cz-how__card-desc {
  font-size: 0.67rem;
  color: #555;
  margin: 0;
  line-height: 1.45;
}

/* CTA */
.cz-how__footer {
  text-align: center;
  padding-top: 32px;
}

.cz-how__cta {
  display: inline-block;
  padding: 9px 28px;
  background: #2D7A5F;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.cz-how__cta:hover,
.cz-how__cta:focus {
  background: #235f49;
  transform: translateY(-1px);
  outline: none;
}

/* ── Tablette >=600px ─── */
@media (min-width: 600px) {
  .cz-how__grid { gap: 20px; }
  .cz-how__icon-wrap { border-radius: 22px; }
  .cz-how__card-title { font-size: 0.85rem; }
  .cz-how__card-desc  { font-size: 0.77rem; }
}

/* ── Desktop >=1024px ─── */
@media (min-width: 1024px) {
  .cz-how { padding: 56px 0 64px; }
  .cz-how__grid { gap: 36px; }
  .cz-how__icon-wrap { border-radius: 26px; }
  .cz-how__card-title { font-size: 0.95rem; }
  .cz-how__card-desc  { font-size: 0.85rem; }
  .cz-how__icon { stroke-width: 1.6; }
  .cz-how__cta { font-size: 0.9rem; padding: 9px 30px; }
}


/* ── Mobile <600px : comment vendre — style carte nouveautés ── */
@media (max-width: 599px) {
  .cz-how__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .cz-how__icon-wrap {
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    margin: 0 0 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .cz-how__icon {
    width: 50%;
  }
  .cz-how__card-title {
    font-size: 0.65rem;
  }
  .cz-how__card-desc {
    font-size: 0.60rem;
  }
}

/* ================================================
   PRÉ-FOOTER + FOOTER
   ================================================ */

.cz-prefooter {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 18px 16px;
}

.cz-prefooter__heading {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.35;
}

.cz-prefooter__link {
  color: #2D7A5F;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.01em;
}

.cz-prefooter__link:hover {
  color: #1B6E5A;
}

.cz-prefooter__desc {
  margin: 6px 0 12px;
  font-size: 0.75rem;
  color: #777;
  line-height: 1.5;
}

.cz-footer {
  background: #fff;
  border-top: 1px solid #ebebeb;
  padding: 28px 16px 36px;
}

.cz-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cz-footer__logo {
  font-size: 1.55rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.cz-footer__logo:hover {
  color: #2D7A5F;
}

.cz-footer__social {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cz-footer__social-link {
  color: #2D7A5F;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.15s;
}

.cz-footer__social-link:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.cz-footer__social-icon {
  width: 26px;
  height: 26px;
}

@media (min-width: 1024px) {
  .cz-prefooter__link { font-size: 1.05rem; }
}
/* ── Nouveautés : focus outline (clic souris = pas de cadre) ── */
.cz-news__card-link:focus:not(:focus-visible) {
  outline: none;
}
.cz-news__card-link:focus-visible {
  outline: 3px solid var(--cz-primary);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ── Nouveautés : image WooCommerce réelle ── */
.cz-news__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 8px;
  display: block;
}

/* ── Nouveautés : rollover image ── */
.cz-news__img-wrap {
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 8px;
}
.cz-news__img {
  margin-bottom: 0;
  border-radius: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cz-news__card-link:hover .cz-news__img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* ── Nouveautés : marque, taille+âge, badge état ── */
.cz-news__card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 8px;
}

.cz-news__card-body > * {
  margin: 0 !important;
  padding: 0;
  line-height: 1.4;
}

.cz-news__card-brand {
  font-size: 0.72rem;
  color: #888888;
  font-weight: 500;
}

.cz-news__card-size {
  font-size: 0.72rem;
  color: #888888;
}

.cz-news__card-state {
  font-size: 0.72rem;
  font-weight: 600;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

.cz-news__card-state--neuf {
  color: #1B6E5A;
}
.cz-news__card-state--tres-bon-etat,
.cz-news__card-state--tres-bon-a-tat {
  color: #3366CC;
}
.cz-news__card-state--bon-etat,
.cz-news__card-state--bon-a-tat {
  color: #B87A00;
}
.cz-news__card-state--utilise-une-fois,
.cz-news__card-state--utilis-une-fois {
  color: #888888;
}
