/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
/* ============================= */
/* ===== BASE (DESKTOP) ======== */
/* ============================= */

.bs-categories-pro {
  background-color: #ffffff;
 
}

.bs-cat-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ----- Header ----- */

.bs-cat-header {
  text-align: center;
  margin-bottom: 30px;
}

.bs-cat-header h1 {
  color: #292dff;
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.bs-cat-header h1 span {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: #3fa639;
  margin-top: 12px;
}

/* ----- Bannières ----- */

.bs-cat-banner {
  position: relative;
  height: 460px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 30px;
}

.bs-cat-banner.small {
  height: 360px;
}

.bs-cat-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

/* Overlay */

.bs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 45px;
  color: #ffffff;
}

/* Texte */

.bs-label {
  color: #3fa639;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bs-overlay h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* ----- Boutons pleine largeur ----- */

.bs-btn {
  margin-top: 20px;
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.bs-btn.full {
  background-color: #292dff;
  color: #ffffff;
}

.bs-btn.full:hover {
  background-color: #1f23cc;
}

.bs-btn.ghost {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.bs-btn.ghost:hover {
  background-color: #292dff;
  border-color: #292dff;
}

/* ----- Grille ----- */

.bs-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ----- Animations continues ----- */

@keyframes slowFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.bs-animate-slow img {
  animation: slowFloat 14s ease-in-out infinite;
}

.bs-animate-float {
  animation: slowFloat 10s ease-in-out infinite;
}

.delay {
  animation-delay: 1.5s;
}

/* ============================= */
/* ===== TABLETTE ============== */
/* ============================= */

@media (max-width: 1024px) {

  .bs-cat-header h1 {
    font-size: 2.5rem;
  }

  .bs-cat-header h1 span {
    font-size: 1.3rem;
  }

  .bs-overlay {
    padding: 35px;
  }

  .bs-cat-banner {
    height: 400px;
  }

  .bs-cat-banner.small {
    height: 330px;
  }
}

/* ============================= */
/* ===== MOBILE ================ */
/* ============================= */

@media (max-width: 768px) {



  .bs-cat-header {
    margin-bottom: 60px;
  }

  .bs-cat-header h1 {
    font-size: 2.1rem;
  }

  .bs-cat-header h1 span {
    font-size: 1.15rem;
  }

  .bs-cat-grid {
    grid-template-columns: 1fr;
  }

  .bs-cat-banner {
    height: 340px;
  }

  .bs-cat-banner.small {
    height: 300px;
  }

  .bs-overlay h2 {
    font-size: 1.7rem;
  }
}

/* ============================= */
/* ===== PETIT MOBILE ========== */
/* ============================= */

@media (max-width: 480px) {

  .bs-cat-header h1 {
    font-size: 1.8rem;
  }

  .bs-cat-header h1 span {
    font-size: 1rem;
  }

  .bs-overlay {
    padding: 25px;
  }

  .bs-cat-banner {
    height: 300px;
  }

  .bs-overlay h2 {
    font-size: 1.5rem;
  }

  .bs-btn {
    font-size: 0.95rem;
    padding: 14px;
  }
}
