/*
 Theme Name:   OceanWP Child
 Theme URI:    https://oceanwp.org/
 Description:  Thème enfant pour OceanWP
 Author:       Ton nom
 Author URI:   https://tonsite.fr
 Template:     oceanwp
 Version:      1.0.0
*/

/* Ici tu peux ajouter ton CSS personnalisé */

/* Grille catalogue matériel */
/* Grille catalogue matériel */
.gear-catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5em;
  align-items: stretch; /* force toutes les colonnes à la même hauteur */
	margin:50px 0px;
}
.gear-tax-block{
	margin-bottom: 30px;	
}

.gear-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* espace bien contenu/titre */
  text-align: center;
  transition: box-shadow 0.2s ease;
}
.gear-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gear-thumb {
  flex: 1 0 auto; /* l’image prend la hauteur dispo */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75em;
}
.gear-thumb img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* évite les déformations */
}

.gear-title {
  font-size: 1em;
  font-weight: 600;
  margin: 0.5em 0 0;
  text-align: center;
}

/* Forcer 3 colonnes sur desktop */
@media (min-width: 992px) {
  .gear-catalogue {
    grid-template-columns: repeat(3, 1fr);
  }
}

.my-opinion-box {
  position: relative;
  background: #f9f6ef; /* beige doux ou autre couleur distinctive */
  border-left: 4px solid #ffc107;
  padding: 2em 1.5em 1.5em 6em;
  margin: 2em 0;
  border-radius: 8px;
}

.my-opinion-avatar {
  position: absolute;
  top: -20px;
  left: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.my-opinion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.my-opinion-content h3 {
  margin-top: 0;
  margin-bottom: 0.75em;
  font-size: 1.3em;
  color: #333;
}

.my-opinion-content p {
  margin: 0;
  line-height: 1.5;
  font-size: 1em;
}

/* Neutralise le breadcrumb OceanWP quand on l’affiche dans .my-breadcrumb */
.my-breadcrumb .site-breadcrumbs {
  position: relative !important; /* enlève l'absolute */
  float: none !important;
  display: block;
  margin: 0 0 1.5em 0;
  padding: 0;
  text-align: left;
}

.my-breadcrumb .site-breadcrumbs .trail-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}

.my-breadcrumb .site-breadcrumbs .trail-item {
  font-size: 0.9em;
  color: #666;
}

.my-breadcrumb .site-breadcrumbs .trail-item a {
  color: #0693e3;
  text-decoration: none;
}

.my-breadcrumb .site-breadcrumbs .trail-item a:hover {
  text-decoration: underline;
}

/* Badge personnalisé "Je recommande" */
.gear-thumb {
  position: relative;
  display: block;
}

.gear-reco-badge {
position: absolute;
    top: -20px;
    left: 20px;
    display: flex;
    align-items: center;
    background: #ffd705;
    /* border: 2px solid #4caf50; */
    /* border-radius: 50px; */
    padding: 5px 12px 5px 20px;
    font-size: 0.85em;
    font-weight: bold;
    color: #644a18;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gear-reco-avatar {
    position: absolute;
    left: -24px;
    bottom: -7px;
    width: 50px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gear-reco-label {
  margin-left: 10px;
}


