/* ==========================================================
   331 V4d — CSS JM24 REDESIGN PROPRE (pages catégorie)
   Ultra-chirurgical, sélecteurs EXACTS du HTML réel
   ========================================================== */

/* ----------------------------------------------------------
   1. CARDS CATÉGORIE (home) — ombre hover + coins arrondis
   ---------------------------------------------------------- */
.category-view .category {
  background: #fff;
  border-radius: 10px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding: 8px;
}

.category-view .category:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* ----------------------------------------------------------
   2. TITRES CATÉGORIE (home)
   ---------------------------------------------------------- */
.category-view .category h1 {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin: 10px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-view .category h1 a {
  color: #333;
  text-decoration: none;
  transition: color 0.25s ease;
}

.category-view .category h1 a:hover {
  color: #FF8C00;
}

/* ----------------------------------------------------------
   3. IMAGES CATÉGORIE (home) — N&B + zoom hover
   ---------------------------------------------------------- */
.category-view .category .spacer img {
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
  border-radius: 8px;
}

.category-view .category:hover .spacer img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.03);
}

/* ----------------------------------------------------------
   4. PAGE CATÉGORIE PRODUIT (apple-iphone) — redesign propre
   ---------------------------------------------------------- */

/* Titre produit */
h1.item_name.product_title a {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

h1.item_name.product_title a:hover {
  color: #FF8C00;
}

/* Sous-titre "VOIR TOUTE L'OFFRE" */
.product_s_desc h2 {
  margin: 6px 0;
  font-size: 12px;
  font-weight: 400;
}

.product_s_desc h2 a {
  color: #888;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.product_s_desc h2 a:hover {
  color: #FF8C00;
}

/* Bouton "BONS PRIX !" */
a.ask-a-question.bold {
  display: inline-block;
  background: transparent;
  color: #FF8C00 !important;
  border: 1px solid #FF8C00;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  margin-top: 6px;
}

a.ask-a-question.bold:hover {
  background: #FF8C00;
  color: #fff !important;
}

/* Bouton "Voir Plus" */
.vm-product-media-container .btn-more {
  transition: background 0.25s ease, transform 0.25s ease;
}

.vm-product-media-container:hover .btn-more {
  background: #FF8C00;
  color: #fff;
  transform: translateY(-2px);
}

/* Cards produit */
.prod-box.spacer.product-container {
  transition: box-shadow 0.3s ease;
  border-radius: 8px;
}

.prod-box.spacer.product-container:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Images produit */
img.browseProductImage {
  transition: transform 0.35s ease;
  border-radius: 4px;
}

.vm-product-media-container:hover img.browseProductImage {
  transform: scale(1.03);
}

/* ----------------------------------------------------------
   5. RESPONSIVE MOBILE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .category-view .category {
    padding: 4px;
  }
  .category-view .category:hover {
    transform: none;
    box-shadow: none;
  }
  .category-view .category .spacer img {
    filter: none;
  }
  
  h1.item_name.product_title a {
    font-size: 12px;
  }
  
  .product_s_desc h2 a {
    font-size: 11px;
  }
  
  a.ask-a-question.bold {
    padding: 4px 10px;
    font-size: 10px;
  }
  
  .prod-box.spacer.product-container:hover {
    box-shadow: none;
  }
}