/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.wd-prochain-evenement-wrap {
  margin-bottom: 30px;
  grid-column: 1 / span 2;
  display: flex;
  _border: 2px solid var(--wd-primary-color);
  gap: 24px;
}

.wd-prochain-evenement-box {
  width: 75%;
  margin: auto;
  padding: 24px;
}

.wd-prochain-label {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.wd-prochain-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.wd-prochain-meta {
  font-size: 1rem;
  color: #555;
}

.wd-prochain-evenement-image {
  _width: 50%;
}

.wd-prochain-evenement-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .wd-prochain-evenement-wrap {
    flex-direction: column;
  }

  .wd-prochain-evenement-box,
  .wd-prochain-evenement-image {
    width: 100%;
  }
}

.wd-old-events-year {
  margin: 18px 0 8px;
  font-weight: 700;
}

.wd-old-events-list {
  margin: 0 0 10px;
  padding-left: 18px;
}


.wd-custom-page-title{
  margin-bottom: 25px;
}
.wd-custom-breadcrumbs{
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.85;
}


/* bannière vendeur dans les post Evt */
/* Bloc global */
.wd-vendor-block{
  margin: 18px 0;
  padding:14px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
}

/* Bannière */
.wd-vendor-banner{
  display:flex;
  gap:16px;
  align-items:stretch;
  text-decoration:none;
  color:inherit;
  background:#fff;
}

.wd-vendor-banner__img{
  flex:0 0 160px;
  border-radius:12px;
  background-size:cover;
  background-position:center;
  min-height:110px;
}

.wd-vendor-banner__mid{
  flex:0 0 280px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  min-width:200px;
}

.wd-vendor-banner__store{
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}

.wd-vendor-banner__vendor{
  font-size:13px;
  opacity:.75;
}

.wd-vendor-banner__email{
  font-size:13px;
  opacity:.8;
}

.wd-vendor-banner__right{
  flex:1 1 auto;
  display:flex;
  align-items:center;
}

.wd-vendor-banner__desc{
  font-size:14px;
  line-height:1.35;
  opacity:.95;
}

.wd-vendor-banner:hover{
  border-color: rgba(0,0,0,.22);
  transform: translateY(-1px);
  transition: .15s ease;
}

/* Favoris vendeur */
.wd-vendor-favs{
  margin-top:12px;
}

/* Rangée scrollable */
.wd-vendor-favs__row{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding: 2px 2px 8px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Style de scrollbar discret (facultatif) */
.wd-vendor-favs__row::-webkit-scrollbar{ height: 8px; }
.wd-vendor-favs__row::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.18); border-radius: 999px; }

.wd-vendor-favs__item{
  flex: 0 0 140px;
  text-decoration:none;
  color:inherit;
  _border:1px solid rgba(0,0,0,.10);
  _border-radius:12px;
  background:#fff;
  padding:10px;
  scroll-snap-align: start;
}

.wd-vendor-favs__item:hover{
  border-color: rgba(0,0,0,.20);
}

.wd-vendor-favs__thumb img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
}

.wd-vendor-favs__name{
  margin-top:8px;
  font-size:12px;
  line-height:1.25;
  opacity:.9;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

/* Responsive */
@media (max-width: 768px){
  .wd-vendor-banner{ flex-direction:column; }
  .wd-vendor-banner__img{ width:100%; flex:0 0 auto; min-height:160px; }
  .wd-vendor-banner__mid{ flex:0 0 auto; }
}

