/* ============================================
   OFFSIDE RECORDS — Custom CSS
   Palette : Bordeaux / Noir / Blanc
   ============================================ */

/* --- COULEURS PRINCIPALES --- */
:root {
  --bordeaux: #6b0f1a;
  --bordeaux-hover: #9b1c2e;
  --noir: #1a1a1a;
  --blanc: #ffffff;
  --gris-clair: #f4f4f4;
  --gris-texte: #555555;
}

/* --- HEADER --- */
#header {
  background-color: #1a1a1a !important;
  border-bottom: 5px solid #6b0f1a !important;
}

#header .header-top {
  background-color: #1a1a1a !important;
}

/* Logo */
#header .logo {
  padding: 10px 0;
}

/* Navigation principale */
#header .top-menu > li > a {
  color: #ffffff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

#header .top-menu > li > a:hover,
#header .top-menu > li > a:focus {
  color: #9b1c2e !important;
}

/* Barre de recherche dans le header */
#header .header-top .search-widget input {
  border: 2px solid #6b0f1a !important;
  border-radius: 0 !important;
}

/* Icônes panier / compte dans le header */
#header .blockcart a,
#header .user-info a {
  color: #ffffff !important;
}

#header .blockcart a:hover,
#header .user-info a:hover {
  color: #9b1c2e !important;
}

/* --- BANNIERE HERO PAGE D'ACCUEIL --- */
#index .banner {
  background-color: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 4px solid #6b0f1a;
}

/* --- BOUTONS --- */
.btn-primary,
.btn-primary:focus {
  background-color: #6b0f1a !important;
  border-color: #6b0f1a !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: #9b1c2e !important;
  border-color: #9b1c2e !important;
}

.btn-secondary {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-secondary:hover {
  background-color: #6b0f1a !important;
  border-color: #6b0f1a !important;
}

/* Bouton "Ajouter au panier" */
.add-to-cart {
  background-color: #6b0f1a !important;
  border-color: #6b0f1a !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.add-to-cart:hover {
  background-color: #9b1c2e !important;
  border-color: #9b1c2e !important;
}

/* --- PRODUITS --- */
.product-miniature .product-title a {
  color: #1a1a1a !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.product-miniature .product-title a:hover {
  color: #6b0f1a !important;
}

.product-miniature .price {
  color: #6b0f1a !important;
  font-weight: 700;
  font-size: 15px;
}

.product-miniature {
  border: 1px solid #e0e0e0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-miniature:hover {
  border-color: #6b0f1a !important;
  box-shadow: 0 4px 12px rgba(107, 15, 26, 0.15);
}

/* Badge "Nouveau" et "Promo" */
.product-flag.new {
  background-color: #1a1a1a !important;
}

.product-flag.discount {
  background-color: #6b0f1a !important;
}

/* Rupture de stock */
.product-flag.out-of-stock,
.label-out-of-stock {
  background-color: #555555 !important;
}

/* --- PAGE PRODUIT --- */
.product-prices .current-price {
  color: #6b0f1a !important;
  font-weight: 700;
  font-size: 22px;
}

.product-name {
  color: #1a1a1a !important;
  font-weight: 700;
  text-transform: uppercase;
}

/* --- TITRES DE SECTIONS --- */
.products-section-title,
h2.h3,
section.featured-products h2,
section.new-products h2 {
  color: #1a1a1a !important;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 3px solid #6b0f1a;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

/* --- LIENS GÉNÉRAUX --- */
a {
  color: #6b0f1a;
}

a:hover {
  color: #9b1c2e;
}

/* --- BREADCRUMB --- */
.breadcrumb-item a {
  color: #6b0f1a !important;
}

.breadcrumb-item.active {
  color: #555555;
}

/* --- FOOTER --- */
#footer {
  background-color: #1a1a1a !important;
  color: #cccccc !important;
  border-top: 5px solid #6b0f1a;
}

#footer a {
  color: #cccccc !important;
}

#footer a:hover {
  color: #9b1c2e !important;
}

#footer h3,
#footer .h3 {
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 2px solid #6b0f1a;
  padding-bottom: 8px;
}

/* --- BARRE DE NAVIGATION MOBILE --- */
@media (max-width: 768px) {
  #mobile_top_menu_wrapper {
    background-color: #1a1a1a !important;
  }

  #mobile_top_menu_wrapper .top-menu a {
    color: #ffffff !important;
    border-bottom: 1px solid #333333;
  }

  #mobile_top_menu_wrapper .top-menu a:hover {
    color: #9b1c2e !important;
  }

  /* Menu burger */
  .menu-toggle .material-icons {
    color: #ffffff !important;
  }

  /* Grille produits mobile : 2 colonnes */
  .products .product-miniature {
    width: 50% !important;
  }
}

/* --- PAGINATION --- */
.page-list li a,
.page-list li span {
  color: #6b0f1a !important;
  border-color: #6b0f1a !important;
}

.page-list li.current a,
.page-list li.current span {
  background-color: #6b0f1a !important;
  color: #ffffff !important;
}

/* --- FORMULAIRES --- */
input:focus,
textarea:focus,
select:focus {
  border-color: #6b0f1a !important;
  box-shadow: 0 0 0 0.2rem rgba(107, 15, 26, 0.25) !important;
}

/* --- BOUTONS RESEAUX SOCIAUX --- */
.block-social li a {
  opacity: 1 !important;
  filter: brightness(0) invert(1) !important;
}

/* --- ALERTES / NOTIFICATIONS --- */
.alert-success {
  border-color: #6b0f1a !important;
  color: #6b0f1a !important;
}
