/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/
:root {
  --red: #e8202a;
  --dark: #1a1a1a;
  --mid: #555;
  --light: #f4f4f2;
  --border: #e2e2e0;
  --white: #fff;
  --star: #f5a623;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

/* ─── PRODUCT CARD ─── */
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 5px; overflow: hidden; margin-bottom: 18px; }
.card-top { display: grid; grid-template-columns: 170px 1fr; }
.card-img { position: relative; background: linear-gradient(160deg, #d4edda 0%, #a8d5b0 50%, #5aaa6a 100%); display: flex; align-items: center; justify-content: center; min-height: 160px; overflow: hidden; }
.card-img img { width: 145px; height: 125px; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
.card-img .grass { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(180deg, transparent 0%, #3d8b45 70%, #2a6130 100%); z-index: 1; }
.card-info { padding: 14px 18px 12px; display: flex; flex-direction: column; gap: 5px; }
.card-brand { font-family: var(--font-head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mid); }
.card-title { font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.15; color: var(--dark); }
.card-desc { font-size: 13px; color: #555; line-height: 1.55; }
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 2px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; }
.tag-gps { background: #e3f2fd; color: #1565c0; }
.tag-wifi { background: #f3e5f5; color: #6a1b9a; }
.tag-surface { background: #e8f5e9; color: #2e7d32; }
.tag-fil { background: #fff3e0; color: #e65100; }
.tag-auto { background: #e0f2f1; color: #00695c; }
.card-bottom { border-top: 1px solid var(--border); background: #f9f9f8; display: flex; align-items: center; padding: 11px 18px; gap: 0; }
.btn-descriptif { background: var(--red); color: var(--white); padding: 9px 18px; font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; border-radius: 3px; white-space: nowrap; }
.btn-descriptif:hover { background: #c0181f; color: #fff; }
.card-bottom-right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.bottom-score { text-align: center; min-width: 54px; }
.bottom-score-num { font-family: var(--font-head); font-size: 32px; font-weight: 700; line-height: 1; color: var(--dark); }
.bottom-score-bar { width: 46px; height: 4px; background: var(--border); border-radius: 2px; margin: 3px auto 2px; overflow: hidden; }
.bottom-score-fill { height: 100%; background: var(--red); border-radius: 2px; }
.bottom-score-label { font-size: 10px; color: var(--mid); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.bottom-price { text-align: right; }
.bottom-price-from { font-size: 11px; color: var(--mid); }
.bottom-price-val { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--dark); line-height: 1; }
.bottom-price-old { font-size: 12px; color: #aaa; text-decoration: line-through; }

/* ─── ARCHIVE PAGE ─── */
.archive-fiches { max-width: 860px; margin: 0 auto; padding: 20px; }
.archive-fiches h1 { font-family: var(--font-head); font-size: 28px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }

/* ─── SINGLE FICHE ─── */
.single-fiche { max-width: 860px; margin: 0 auto; padding: 20px; }
.single-fiche h1 { font-family: var(--font-head); font-size: 36px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.single-fiche .fiche-brand { font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--mid); margin-bottom: 16px; }
.single-fiche .fiche-meta { display: flex; gap: 20px; flex-wrap: wrap; margin: 16px 0; padding: 16px; background: #f9f9f8; border: 1px solid var(--border); border-radius: 5px; }
.fiche-meta-item { display: flex; flex-direction: column; gap: 3px; }
.fiche-meta-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mid); }
.fiche-meta-val { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--dark); }
.fiche-cta { display: inline-block; background: var(--red); color: #fff; padding: 12px 24px; font-family: var(--font-head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; border-radius: 3px; margin-top: 16px; }
.fiche-cta:hover { background: #c0181f; color: #fff; }
