/* =================================================================
   PPV Pompom Véhicule — Main Styles
   ================================================================= */

:root {
  --ppv-red: #c8102e;
  --ppv-red-dark: #a00d24;
  --ppv-black: #1a1a1a;
  --ppv-gray-dark: #2c2c2c;
  --ppv-gray: #666666;
  --ppv-gray-light: #f5f5f5;
  --ppv-border: #e5e2d8;
  --ppv-white: #ffffff;
}

* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ppv-black);
  background: var(--ppv-white);
  margin: 0;
  line-height: 1.6;
}

a { color: var(--ppv-red); text-decoration: none; }
a:hover { color: var(--ppv-red-dark); }

.ppv-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ============ TOP BAR ============ */
.ppv-topbar {
  background: var(--ppv-black);
  color: #ccc;
  font-size: 12px;
  padding: 8px 0;
}
.ppv-topbar .ppv-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.ppv-topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.ppv-topbar a { color: #ccc; display: inline-flex; align-items: center; gap: 6px; }
.ppv-topbar a:hover { color: var(--ppv-white); }
.ppv-topbar i { font-size: 14px; }

/* ============ HEADER ============ */
.ppv-header {
  background: var(--ppv-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--ppv-border);
}
.ppv-header .ppv-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ppv-logo img, .ppv-logo svg { height: 60px; width: auto; display: block; }
.ppv-logo-text { display: flex; flex-direction: column; }
.ppv-logo-text strong { font-size: 18px; color: var(--ppv-black); font-weight: 700; }
.ppv-logo-text span { font-size: 12px; color: var(--ppv-gray); }

.ppv-header-search {
  flex: 1;
  max-width: 500px;
  position: relative;
}
.ppv-header-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--ppv-border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.ppv-header-search input:focus { border-color: var(--ppv-red); }
.ppv-header-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ppv-gray);
  font-size: 16px;
}

.ppv-header-actions { display: flex; align-items: center; gap: 16px; }
.ppv-header-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ppv-black);
  font-size: 13px;
  font-weight: 500;
}
.ppv-header-actions a i { font-size: 20px; }
.ppv-cart-btn {
  background: var(--ppv-red);
  color: var(--ppv-white) !important;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s;
}
.ppv-cart-btn:hover { background: var(--ppv-red-dark); color: var(--ppv-white) !important; }
.ppv-cart-count {
  background: var(--ppv-white);
  color: var(--ppv-red);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
}

/* ============ NAVIGATION ============ */
.ppv-nav {
  background: var(--ppv-red);
  padding: 0;
}
.ppv-nav .ppv-container { display: flex; align-items: center; }
.ppv-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.ppv-nav li a {
  display: block;
  padding: 14px 20px;
  color: var(--ppv-white);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.ppv-nav li a:hover, .ppv-nav li.current-menu-item a { background: rgba(0,0,0,0.15); color: var(--ppv-white); }

/* Mobile menu toggle */
.ppv-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ppv-white);
  font-size: 22px;
  padding: 12px 16px;
  cursor: pointer;
}

/* ============ HERO ============ */
.ppv-hero {
  background: linear-gradient(90deg, var(--ppv-gray-dark), var(--ppv-black));
  color: var(--ppv-white);
  padding: 80px 20px;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.ppv-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--ppv-red);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.ppv-hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ppv-white);
}
.ppv-hero p {
  font-size: 17px;
  color: #bbb;
  max-width: 640px;
  margin: 0 auto 28px;
}
.ppv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--ppv-red);
  color: var(--ppv-white);
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s;
}
.ppv-btn:hover { background: var(--ppv-red-dark); color: var(--ppv-white); }
.ppv-btn-outline {
  background: transparent;
  border: 2px solid var(--ppv-white);
  color: var(--ppv-white);
}
.ppv-btn-outline:hover { background: var(--ppv-white); color: var(--ppv-black); }

/* ============ SECTIONS ============ */
.ppv-section { padding: 60px 0; }
.ppv-section-alt { background: var(--ppv-gray-light); }
.ppv-section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ppv-black);
}
.ppv-section-subtitle {
  text-align: center;
  color: var(--ppv-gray);
  margin: 0 0 40px;
  font-size: 15px;
}

/* ============ CATEGORY GRID ============ */
.ppv-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.ppv-cat-card {
  background: var(--ppv-white);
  border: 1px solid var(--ppv-border);
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
  transition: all 0.2s;
  display: block;
  color: var(--ppv-black);
}
.ppv-cat-card:hover {
  border-color: var(--ppv-red);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(200,16,46,0.1);
  color: var(--ppv-black);
}
.ppv-cat-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.ppv-cat-card .cat-icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ppv-red);
  margin-bottom: 8px;
}
.ppv-cat-card .cat-icon i { font-size: 32px; }
.ppv-cat-card .cat-name { font-size: 13px; font-weight: 600; }
.ppv-cat-card .cat-count { font-size: 11px; color: var(--ppv-gray); margin-top: 3px; }

/* ============ PRODUCTS GRID ============ */
.ppv-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ppv-product-card {
  background: var(--ppv-white);
  border: 1px solid var(--ppv-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}
.ppv-product-card:hover { border-color: var(--ppv-red); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.ppv-product-card .product-img { width: 100%; height: 180px; background: var(--ppv-gray-light); object-fit: cover; display: block; }
.ppv-product-card .product-body { padding: 14px; }
.ppv-product-card .product-cat { font-size: 11px; color: var(--ppv-gray); text-transform: uppercase; letter-spacing: 1px; }
.ppv-product-card h3 { font-size: 14px; margin: 6px 0; font-weight: 600; color: var(--ppv-black); }
.ppv-product-card h3 a { color: var(--ppv-black); }
.ppv-product-card .product-desc { font-size: 12px; color: var(--ppv-gray); margin: 4px 0 10px; }
.ppv-product-card .product-price { font-size: 18px; font-weight: 700; color: var(--ppv-red); }

/* ============ REASSURANCE ============ */
.ppv-reassurance {
  background: var(--ppv-white);
  padding: 40px 0;
  border-top: 1px solid var(--ppv-border);
  border-bottom: 1px solid var(--ppv-border);
}
.ppv-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.ppv-reassurance-item i { font-size: 40px; color: var(--ppv-red); margin-bottom: 10px; display: block; }
.ppv-reassurance-item h4 { margin: 6px 0 4px; font-size: 15px; color: var(--ppv-black); }
.ppv-reassurance-item p { font-size: 13px; color: var(--ppv-gray); margin: 0; }

/* ============ FOOTER ============ */
.ppv-footer {
  background: var(--ppv-black);
  color: #aaa;
  padding: 50px 0 20px;
  font-size: 14px;
}
.ppv-footer h4 { color: var(--ppv-white); font-size: 15px; margin: 0 0 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.ppv-footer ul { list-style: none; padding: 0; margin: 0; }
.ppv-footer ul li { margin-bottom: 8px; }
.ppv-footer a { color: #aaa; transition: color 0.2s; }
.ppv-footer a:hover { color: var(--ppv-red); }
.ppv-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}
.ppv-footer-logo img, .ppv-footer-logo svg { max-width: 240px; height: auto; margin-bottom: 16px; }
.ppv-footer-contact p { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; }
.ppv-footer-contact i { color: var(--ppv-red); font-size: 16px; margin-top: 2px; }

.ppv-footer-socials { margin-top: 16px; display: flex; gap: 10px; }
.ppv-footer-socials a {
  width: 36px;
  height: 36px;
  background: #333;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ppv-white);
  transition: background 0.2s;
}
.ppv-footer-socials a:hover { background: var(--ppv-red); color: var(--ppv-white); }
.ppv-footer-socials i { font-size: 18px; }

.ppv-footer-legal {
  padding-top: 20px;
  font-size: 12px;
  color: #666;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .ppv-categories-grid { grid-template-columns: repeat(4, 1fr); }
  .ppv-products-grid { grid-template-columns: repeat(3, 1fr); }
  .ppv-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ppv-hero { padding: 50px 20px; }
  .ppv-hero h1 { font-size: 30px; }
  .ppv-hero p { font-size: 15px; }
  .ppv-header .ppv-container { flex-direction: column; align-items: stretch; }
  .ppv-header-search { max-width: 100%; }
  .ppv-mobile-toggle { display: block; }
  .ppv-nav ul { display: none; flex-direction: column; width: 100%; }
  .ppv-nav.open ul { display: flex; }
  .ppv-nav li a { padding: 12px 20px; border-top: 1px solid rgba(255,255,255,0.1); }
  .ppv-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .ppv-products-grid { grid-template-columns: repeat(2, 1fr); }
  .ppv-reassurance-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ppv-footer-grid { grid-template-columns: 1fr; }
  .ppv-section { padding: 40px 0; }
  .ppv-section-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .ppv-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .ppv-products-grid { grid-template-columns: 1fr; }
  .ppv-topbar-left { font-size: 11px; gap: 12px; }
}

/* ============ WOOCOMMERCE OVERRIDES ============ */
.woocommerce ul.products li.product .price { color: var(--ppv-red) !important; font-weight: 700 !important; }
.woocommerce .button, .woocommerce a.button, .woocommerce button.button {
  background: var(--ppv-red) !important;
  color: var(--ppv-white) !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
}
.woocommerce .button:hover { background: var(--ppv-red-dark) !important; }
.woocommerce span.onsale { background: var(--ppv-red) !important; border-radius: 4px !important; }
