/*
Theme Name: HD Troyes Child
Theme URI: https://harley-davidson-troyes.fr
Template: lexrider
Author: Webtech
Author URI: https://leswebatelistes.fr
Tags: Harley Davidson Troyes Shop
Version: 1.5.0.1649339195
Updated: 2022-04-07 13:46:35

*/
/* HD Occasion Product – Modern layout */
:root{
  --hd-black:#0b0b0b;
  --hd-char:#151515;
  --hd-ash:#2a2a2a;
  --hd-line:rgba(255,255,255,.10);
  --hd-text:rgba(255,255,255,.92);
  --hd-muted:rgba(255,255,255,.70);
  --hd-orange:#ff6a00;
  --hd-card:rgba(10,10,10,.70);
}

.woocommerce div.product .summary{
  /* Keep Woo default layout but make it airy */
  padding-left: 24px;
}

.hdp-wrap{
  color: var(--hd-text);
}

.hdp-header{
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.20));
  border: 1px solid var(--hd-line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin-bottom: 18px;
}

.hdp-kicker{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: var(--hd-muted);
}

.hdp-title{
  margin: 8px 0 6px;
  font-size: 34px;
  line-height: 1.05;
}

.hdp-tagline{
  margin: 0 0 10px;
  color: var(--hd-muted);
  font-size: 14px;
}

.hdp-keyline{
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--hd-line);
  color: var(--hd-text);
  font-size: 13px;
}

.hdp-price-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin: 6px 0 12px;
}

.hdp-price .price{
  font-size: 28px;
  font-weight: 800;
}

.hdp-badges{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.hdp-badge{
  display:inline-flex;
  align-items:center;
  border: 1px solid var(--hd-line);
  background: rgba(0,0,0,.35);
  color: var(--hd-text);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
}

.hdp-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 18px;
}

.hdp-card{
  border: 1px solid var(--hd-line);
  background: var(--hd-card);
  border-radius: 16px;
  padding: 14px 14px 12px;
}

.hdp-card h2{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hd-muted);
}

.hdp-card-wide{
  grid-column: 1 / -1;
}

.hdp-list{
  margin:0;
  padding-left: 18px;
  color: var(--hd-text);
}

.hdp-checks{
  list-style: none;
  margin:0;
  padding:0;
}

.hdp-checks li{
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}

.hdp-checks li:before{
  content: "✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--hd-orange);
  font-weight: 900;
}

.hdp-columns{
  margin:0;
  padding-left: 18px;
  columns: 2;
  column-gap: 24px;
}

.hdp-specs{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.hdp-specs > div{
  border: 1px solid var(--hd-line);
  background: rgba(0,0,0,.25);
  border-radius: 12px;
  padding: 10px 10px 9px;
}

.hdp-specs span{
  display:block;
  font-size: 11px;
  color: var(--hd-muted);
  margin-bottom: 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hdp-specs strong{
  font-size: 14px;
}

.hdp-desc{
  margin-top: 14px;
  color: var(--hd-text);
}

.hdp-muted{
  color: var(--hd-muted);
}

.hdp-bottom-cta{
  margin: 28px 0 10px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0,0,0,.08);
  display:flex;
  justify-content:center;
}

.hdp-contact-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  background: var(--hd-orange);
  color: #111;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration:none;
  min-width: 260px;
}

.hdp-contact-btn:hover{
  filter: brightness(1.05);
}

/* Mobile */
@media (max-width: 768px){
  .woocommerce div.product .summary{ padding-left: 0; }
  .hdp-title{ font-size: 28px; }
  .hdp-grid{ grid-template-columns: 1fr; }
  .hdp-columns{ columns: 1; }
  .hdp-specs{ grid-template-columns: 1fr 1fr; }
}
/* Header inline: image aligned with title */
.hdp-header-inline{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: center;
}

.hdp-header-media{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #000;
}

.hdp-header-media img{
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.hdp-header-content{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 900px){
  .hdp-header-inline{
    grid-template-columns: 1fr;
  }
  .hdp-header-media img{
    max-height: 260px;
  }
}
/* 1) On masque le bloc galerie WooCommerce (si le thème le réinjecte en template) */
.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-product-gallery {
  display: none !important;
}

/* 2) Le résumé prend toute la largeur */
.woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
  padding-left: 0 !important;
}

/* 3) Header inline: image alignée avec le titre */
.hdp-header-inline{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: center;
}

.hdp-header-media{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #000;
}

.hdp-header-media img{
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.hdp-header-content{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mobile */
@media (max-width: 900px){
  .hdp-header-inline{ grid-template-columns: 1fr; }
  .hdp-header-media img{ max-height: 260px; }
}

/* Short description block under badges */
.hdp-shortdesc{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.90);
}

.hdp-shortdesc p{
  margin: 0 0 8px;
}

.hdp-shortdesc p:last-child{
  margin-bottom: 0;
}
/* Gallery */
.hdp-gallery{
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
}

.hdp-gallery-main{
  display:block;
}

.hdp-gallery-main img{
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display:block;
}

.hdp-gallery-thumbs{
  display:flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
}

.hdp-thumb{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.hdp-thumb img{
  width: 92px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
  display:block;
}

/* Sub blocks in Equipements */
.hdp-subblock{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.hdp-subtitle{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
  margin-bottom: 10px;
}


