@charset "utf-8";
/* ============================================================
   Daytona ANIMA — daytona-cat-v2.1.4.css
   CALQUE PHASE 2 (charge APRES style.css)
   Cible : page categorie (#category) ET recherche (#search)
   v2.1.4 : styles repliques pour #search (page resultats recherche)
   v2.1.3 : breadcrumb full-width MASQUE (bande blanche entre header et hero)
   v2.1.2 : respiration sous header fixe
   v2.1.1 : hero = main_engine.jpg / underline 80px / pas de ligne breadcrumb
   Selecteurs bases sur le markup REEL Hummingbird 9.1.1
   ============================================================ */

/* ------------------------------------------------------------
   1. BANNIERE HERO "PRODUCTS" (pleine largeur, injectee par
      layout-left-column.tpl AVANT .columns-container)
      Image cible : engine/main_engine.jpg (atelier + motocross)
      Fallback : degrade orange->noir si l'image manque.
   ------------------------------------------------------------ */
.daytona-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  margin-bottom: 50px;
  background-color: #1a1a1a;
  background-image:
    linear-gradient(rgba(18,18,18,0.35), rgba(18,18,18,0.55)),
    url('../img/top/main_engine.jpg'),
    linear-gradient(135deg, #eb6100 0%, #1a1a1a 72%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.daytona-hero__inner {
  width: 100%;
  text-align: center;
  padding: 0 20px;
}
.daytona-hero__title {
  margin: 0;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   2. BREADCRUMB NATIF full-width : MASQUE en categorie
      (creait une bande blanche parasite entre le header et le hero ;
       sur la cible Daytona la photo demarre collee sous le header).
      Meme mecanisme que la home (body.page-index ... display:none).
   ------------------------------------------------------------ */
#category nav.breadcrumb__wrapper,
#category .breadcrumb__wrapper,
#search nav.breadcrumb__wrapper,
#search .breadcrumb__wrapper {
  display: none !important;
}

/* ------------------------------------------------------------
   3. TITRE H1 CATEGORIE (SEO reel) + underline orange
      Markup : main#Category > .container > div.daytona-cat-head > h1.daytona-cat-title
      v2.1.1 : underline 80px (etait 60px) + 4px d'epaisseur
   ------------------------------------------------------------ */
#category .daytona-cat-head,
#search .daytona-cat-head {
  margin: 8px 0 34px;
}
#category .daytona-cat-title,
#search .daytona-cat-title {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
#category .daytona-cat-title::after,
#search .daytona-cat-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: #eb6100;
}

/* ------------------------------------------------------------
   4. BARRE SELECTION (compteur + tri)
   ------------------------------------------------------------ */
#category .products__selection,
#search .products__selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  padding: 0 0 15px;
  border-bottom: 2px solid #eb6100;
}
#category .products__count,
#search .products__count {
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #767676;
}
#category .products__sort,
#search .products__sort {
  display: flex;
  align-items: center;
}
#category .products__sort-label,
#search .products__sort-label {
  margin-right: 10px;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  color: #767676;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ------------------------------------------------------------
   5. DROPDOWN TRI (Bootstrap natif HB ajoute .show au clic)
   ------------------------------------------------------------ */
#category .products__sort-dropdown,
#search .products__sort-dropdown {
  position: relative;
  display: inline-block;
}
#category .products__sort-dropdown-button,
#search .products__sort-dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #000;
  background: #fff;
  border: 1px solid #eb6100;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#category .products__sort-dropdown-button:hover,
#category .products__sort-dropdown-button[aria-expanded="true"],
#search .products__sort-dropdown-button:hover,
#search .products__sort-dropdown-button[aria-expanded="true"] {
  background: #eb6100;
  color: #fff;
}
#category .products__sort-dropdown-button.dropdown-toggle::after,
#search .products__sort-dropdown-button.dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  vertical-align: middle;
}
#category .products__sort .dropdown-menu,
#search .products__sort .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  z-index: 1000;
  min-width: 230px;
  margin-top: 4px;
  padding: 6px 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
#category .products__sort .dropdown-menu.show,
#search .products__sort .dropdown-menu.show {
  display: block;
}
#category .products__sort .dropdown-item,
#search .products__sort .dropdown-item {
  display: block;
  padding: 8px 16px;
  font-family: 'Khand', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
#category .products__sort .dropdown-item:hover,
#search .products__sort .dropdown-item:hover {
  background: #eb6100;
  color: #fff;
}
#category .products__sort .dropdown-item.current,
#search .products__sort .dropdown-item.current {
  color: #eb6100;
}
#category .products__sort .dropdown-item.current:hover,
#search .products__sort .dropdown-item.current:hover {
  color: #fff;
}

/* ------------------------------------------------------------
   6. PAGINATION (markup HB : ul.pagination > li.page-item > button.page-link)
   ------------------------------------------------------------ */
#category .pagination__container,
#search .pagination__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}
#category .pagination__number,
#search .pagination__number {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #767676;
}
#category ul.pagination,
#search ul.pagination {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
#category ul.pagination .page-item,
#search ul.pagination .page-item {
  margin: 0;
}
#category ul.pagination .page-link,
#search ul.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
#category ul.pagination .page-link:hover,
#search ul.pagination .page-link:hover {
  border-color: #eb6100;
  color: #eb6100;
}
#category ul.pagination .page-item.active .page-link,
#search ul.pagination .page-item.active .page-link {
  background: #eb6100;
  border-color: #eb6100;
  color: #fff;
}
#category ul.pagination .page-item.disabled .page-link,
#search ul.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
#category ul.pagination .page-link .material-icons,
#search ul.pagination .page-link .material-icons {
  font-size: 18px;
}

/* ------------------------------------------------------------
   7. RESPONSIVE (<= 899px)
   ------------------------------------------------------------ */
@media (max-width: 899px) {
  .daytona-hero {
    min-height: 150px;
    margin-bottom: 30px;
  }
  .daytona-hero__title {
    font-size: 44px;
  }
  #category .daytona-cat-title,
  #search .daytona-cat-title {
    font-size: 34px;
  }
  #category .breadcrumb__wrapper .container,
  #search .breadcrumb__wrapper .container {
    padding: 0 20px;
  }
  #category .products__selection,
  #search .products__selection {
    flex-direction: column;
    align-items: flex-start;
  }
  #category .products__sort,
  #search .products__sort {
    width: 100%;
    justify-content: space-between;
  }
}
