/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
 @import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
 body{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    background-color: #F2F2F2;
    color: black;
 }
 h1, h2, h3, h4, h5, h6{
    font-family: "Fjalla One", sans-serif;
    font-weight: 400;
    font-style: normal;
 }
 p, span, label, input, button, a, li, div{
    font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
 }
 a{
  color:#DE7F06;
  text-decoration: none;
 }
 .bg-orange{
    background-color: #DE7F06;
 }
 .bg-noir{
  background-color: #000000;
}
 .text-orange {
  color: #DE7F06;
}
.btn-afk{
  background-color: #DE7F06;
  color: white;
  border: 2px solid white;
}

.btn-noir{
  background-color: #000000;
  color: white;
}

.btn-noir:hover{
  background-color: #000000;
  color: #DE7F06;
}

.btn-afk:hover{
  background-color: white;
  color: #DE7F06;
}
.btn-menu-afk{
  background-color: #DE7F06;
  color: white;
  border: 0px solid white;
}

.btn-menu-afk:hover{
  background-color: white;
  color: #DE7F06;
}
 .menu-principal{
    background-color: #000000;
 }
.menu-principal .nav-link{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: all ease 0.2s;
}
.menu-principal .nav-link:hover{
  color: #DE7F06;
}
.menu-utilisateur .nav-link{
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  transition: all ease 0.2s;
}
.menu-utilisateur .nav-link:hover{
color: #DE7F06;
}
/* Appliquer le fond noir au menu déroulant */
.nav-pills .dropdown-menu {
  background-color: black !important;
  border: none; /* Supprime la bordure par défaut */
}

/* Couleur du texte blanc dans le dropdown */
.nav-pills .dropdown-menu .dropdown-item {
  color: white !important;
  text-transform: uppercase;
  transition: all ease 0.2s;
}

/* Changer la couleur au survol */
.nav-pills .dropdown-menu .dropdown-item:hover {
  background-color: #DE7F06 !important;
  color: black !important; /* Pour un bon contraste */
}

/* Couleur du texte blanc dans le dropdown */
.menucart .dropdown-menu {
  background-color: black !important;
  border: none; /* Supprime la bordure par défaut */
}

/* Couleur du texte blanc dans le dropdown */
.menucart .dropdown-menu .dropdown-item {
  color: white !important;
  text-transform: uppercase;
  transition: all ease 0.2s;
  text-decoration: none;
}

/* Changer la couleur au survol */
.menucart .dropdown-menu .dropdown-item:hover {
  background-color: #DE7F06 !important;
  color: black !important; /* Pour un bon contraste */
}

.logo{
    width: 70%;
    margin: auto;
}
.img-kare{
  width: 150px;
}
/* acceuil */
/* Le col-8 a une hauteur définie */
.col-container {
  position: relative;
  height: 75vh; /* Détermine la hauteur globale */
  padding: 0 !important;
  margin: 0 !important;
}

/* Le carousel prend 100% du parent (col-8) */
.carousel {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Le carousel-inner suit la hauteur du carousel */
.carousel-inner {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Les items du carousel occupent toute la place */
.carousel-item {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Les images remplissent totalement le carousel sans se déformer */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Supprime l'espace en bas de l'image */
  margin: 0 !important;
  padding: 0 !important;
}

/* Contenu (slogan + recherche) centré */
.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 60%;
  z-index: 10; /* S'assure que l'overlay est au-dessus du carousel */
}

/* Formulaire de recherche */
.search-form {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  position: relative; /* IMPORTANT: pour positionner l'autocomplétion */
}

/* Champ de recherche */
.search-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
}

/* Bouton de recherche */
.search-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 0 5px 5px 0;
  background-color: #DE7F06;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #ff6600;
  color: white;
}

/* Conteneur des suggestions d'autocomplétion */
.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 5px 5px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1050; /* Au-dessus de tout */
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 2px;
}

/* Item de suggestion */
.autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  color: #333;
  text-align: left;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.autocomplete-active {
  background-color: #DE7F06;
  color: white;
}

.autocomplete-item i {
  margin-right: 8px;
  opacity: 0.7;
}

.autocomplete-item i {
  margin-right: 8px;
  opacity: 0.7;
}

.cta-box {
  background: linear-gradient(to right, #fd7e14, #ff922b);
}

.right-section {
  background-color: white;
}

.card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

.right-section .badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: normal;
}

.right-section .badge a{
  background-color:#DE7F06;
  color: white;
  text-decoration: none;
  transition: all ease 0.3s;
  padding: 8px 16px;
  border-radius: 20px;
}

.badge a:hover{
  color:#DE7F06;
  background-color: white;
  text-decoration: none;
  border: 1px solid #DE7F06;
}



.btn-light:hover {
  background-color: #f8f9fa;
  color: #fd7e14;
}


.home-headline{
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
}
.home-intro{
  font-size: 16px;
}
.abonnement-bg{
  background: url('https://res.cloudinary.com/aseed/image/upload/v1740207725/afrikimages/assets/abo-bg_vuh6dx.jpg')no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
.abonnement-bg-filtre{
  background: url('')no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  height: 400px;
}
.abonnement-bg-headline{
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
}
.abonnement-bg-intro{
  font-size: 24px;
}
.galerie-section{
  background-color: white;
}
.galerie-section-headline{
  color: #DE7F06;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
}
.galerie-section-btn{
  background-color: #000000;
  color: white;
  transition: all ease 0.2s;
}
.galerie-section-btn:hover{
  background-color: #DE7F06;
  color: #000000;
  transition: all ease 0.3s;
}
.galerie-section-square{
  width: 200px;
  height: 200px;
  background-color: transparent;
  padding-left: 10%;
  padding-right: 10%;
}
.galerie-section img{
  width: 200px;
  height: 200px;
}
.fill {
  object-fit: fill;
}
.contain {
  object-fit: contain;
}

.cover {
  object-fit: cover;
}
/* acceuil fin */

.lacategorie-container{
    background-size:cover;
    background-position: center center;
}

.lacategorie-container p{
    font-size: 16px;
}

.lacategorie-filtre{
    background: rgba(0,0,0,.5);
    color:white; 
    height:50vh;
}

.souscategorie-photos-container {
  padding: 2rem !important;
  background-color: transparent;
}

.souscategorie-photos-container p{
    font-size: 16px;
}

.photos-headline{
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
}
.photo-titre::first-letter{
  text-transform: uppercase;
}

.dropdown-menu {
  min-width: 200px;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: #DE7F06 !important;
  color: white;
}

.dropdown-item i {
  font-size: 1.1rem;
}

.copy-link {
  cursor: pointer;
}

.souscategorie-container {
  padding: 2rem !important;
  background-color: transparent;
}

.souscategorie-container .row {
  gap: 2rem; /* Espacement uniforme entre les cartes */
}

.souscategorie-card {
  position: relative;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px; /* coins légèrement arrondis */
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease-in-out;
}

.souscategorie-card:hover .bg-image {
  transform: scale(1.1);
}

.filtre {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Légèrement plus foncé pour meilleur contraste */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 1.5rem;
  transition: background-color 0.3s ease;
}

.souscategorie-card:hover .filtre {
  background-color: rgba(0, 0, 0, 0.5); /* Plus foncé au survol */
}

.filtre .souscategorie-nom {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.filtre .btn {
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.filtre .btn-afk-light {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: 2px solid white;
}

.filtre .btn-afk-light:hover {
  background-color: #DE7F06;
  color: white;
  transform: translateY(-2px);
}

/* Photo show page */
.photo-viewer-container {
  position: relative;
  min-height: auto;
  background-color: #f8f9fa;
  overflow: hidden;
}

/* Arrière-plan flouté */
.photo-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(0.7);
  transform: scale(1.1); /* Pour éviter les bords blancs dus au flou */
}

/* Conteneur des éléments principaux */
.container {
  position: relative;
  z-index: 1;
}

/* Style du conteneur de la photo principale */
.photo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.photo-wrapper {
  position: relative;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Style de l'image principale */
.main-image {
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Actions sur l'image (boutons en haut) */
.photo-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
}

.photo-actions .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
}

/* Bouton pour supprimer l'arrière-plan */
.remove-background-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* Style pour le panneau de détails */
.image-details {
  background-color: white;
  border-radius: 8px;
}

.souscategories-container {
  margin-top: 15px;
}

.souscategory-link {
  display: inline-flex;
  align-items: center;
  background: #000000;
  color: white;
  padding: 6px 12px;
  margin: 5px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.souscategory-link i {
  margin-right: 5px;
}

.souscategory-link:hover {
  background: white;
  color: #DE7F06;
  border: 1px solid #000000;
}




.tags-container {
  margin-top: 15px;
}

.tag-link {
  display: inline-flex;
  align-items: center;
  background: #DE7F06;
  color: white;
  padding: 6px 12px;
  margin: 5px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.tag-link i {
  margin-right: 5px;
}

.tag-link:hover {
  background: white;
  color: #DE7F06;
  border: 1px solid #DE7F06;
}
/* photos show page */
.masonry-grid {
  column-count: 4;
  column-gap: 10px;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid; /* Évite de couper les images entre les colonnes */
}

.masonry-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
}

.masonry-item img {
  width: 100%;
  border-radius: 5px;
  display: block;
  transition: transform 0.3s ease;
}

/* Effet zoom sur l'image au survol */
.masonry-link:hover img {
  transform: scale(1.05);
}

/* Overlay avec dégradé */
.masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  padding: 20px 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.masonry-link:hover .masonry-overlay {
  opacity: 1;
}

.masonry-description {
  color: white;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.masonry-description::first-letter {
  text-transform: uppercase;
}



/* utilsateur & admin design */
/* Sidebar styles */
.sidebar {
  background-color: #000;
  color: #fff;
  height: 100vh;
  position: fixed;
  width: 260px;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.logo-container {
  padding: 20px;
  border-bottom: 1px solid #333;
}

.logo {
  max-width: 180px;
}

.nav-menu {
  padding: 15px 0;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 12px 20px;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.nav-menu a:hover, .nav-menu a.active {
  background-color: #222;
  border-left: 4px solid #FFC107;
}

.nav-menu i {
  margin-right: 10px;
}

.disconnect-btn {
  position: absolute;
  bottom: 20px;
  width: 90%;
  margin: 0 5%;
}

/* Main content area */
.main-content {
  margin-left: 260px;
  padding: 20px 30px;
  min-height: 100vh;
  transition: all 0.3s;
}

/* Cards styling */
.content-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 25px;
  margin-bottom: 20px;
}

.card-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

/* Form elements styling */
.form-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

.form-control, .form-select {
  border-radius: 6px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: #FFC107;
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

textarea.form-control {
  min-height: 120px;
}

/* Table styling */
.table-container {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table {
  margin-bottom: 0;
}

.table-dark {
  background-color: #212529;
}

.table th {
  font-weight: 600;
  padding: 15px;
  vertical-align: middle;
}

.table td {
  padding: 15px;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,0.02);
}

/* Buttons styling */
.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-warning {
  background-color: #FFC107;
  border-color: #FFC107;
  color: #212529;
}

.btn-warning:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #218838;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
}

/* Image preview */
.img-preview {
  max-width: 200px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.img-kare {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Dropdown styling */
.dropdown-menu {
  padding: 8px 0;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.dropdown-item {
  padding: 8px 20px;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-divider {
  margin: 8px 0;
  border-top: 1px solid #eee;
}

/* Page header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

/* utilsateur & admin design */

@media (min-width: 320px) and (max-width: 440px){

  /* acceuil */
  .menu-principal .nav-link{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: all ease 0.2s;
    font-size: 14px;
}
/* Le col-8 a une hauteur définie */
.col-container {
  position: relative;
  height: 50vh; /* Détermine la hauteur globale */
  padding: 0;
}

/* Le carousel prend 100% du parent (col-8) */
.carousel {
  width: 100%;
  height: 100%;
}

/* Le carousel-inner suit la hauteur du carousel */
.carousel-inner {
  width: 100%;
  height: 100%;
}

/* Les items du carousel occupent toute la place */
.carousel-item {
  width: 100%;
  height: 100%;
}

/* Les images remplissent totalement le carousel sans se déformer */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenu (slogan + recherche) centré */
.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 80%;
}

/* Formulaire de recherche */
.search-form {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.search-input {
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  width: 250px;
}

.search-btn {
  background: #ff6600;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.home-headline{
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
}
.home-intro{
  font-size: 14px;
}

.masonry-grid {
  column-count: 2; /* Nombre de colonnes */
  column-gap: 10px; /* Espacement entre les colonnes */
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px; /* Espacement vertical */
}

.masonry-item img {
  width: 100%;
  border-radius: 5px; /* Coins arrondis */
  display: block;
}

.autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  color: #333;
  text-align: left;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}

.masonry-description {
  color: white;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.abonnement-bg-headline{
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}
.abonnement-bg-intro{
  font-size: 16px;
}

.lacategorie-container p{
    font-size: 14px;
}

.souscategorie-photos-container p{
    font-size: 14px;
}

.galerie-section-headline{
  color: #DE7F06;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}

/* acceuil */



}
/* ===== Refonte 2026 : grilles, bandeaux, verre, fiche photo, application ===== */
:root {
  --afk-orange: #DE7F06;
  --afk-noir: #0b0b0b;
  --afk-entete: 84px;
  --afk-verre-sombre: rgba(12, 12, 12, .52);
  --afk-verre-clair: rgba(255, 255, 255, .72);
  --afk-verre-bord: rgba(255, 255, 255, .22);
}

.menu-principal.sticky-top {
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.offcanvas.menu-principal { background: rgba(0, 0, 0, .94); }

.afk-verre-clair {
  background: var(--afk-verre-clair);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 18px;
}

/* Accueil : le carousel occupe toute la hauteur de sa colonne */
.afk-hero-col { display: flex; }
.afk-hero-col .col-container { flex: 1; height: auto; min-height: 75vh; overflow: hidden; }
.afk-hero-col .carousel { position: absolute; inset: 0; height: 100%; }
.afk-hero-col .carousel-img { height: 100%; object-fit: cover; }
.afk-hero-col .col-container::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.35) 100%);
}
.overlay-content {
  background: var(--afk-verre-sombre);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--afk-verre-bord);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  padding: 28px;
}
.overlay-content h2 { text-shadow: 0 2px 12px rgba(0,0,0,.4); box-shadow: none !important; }
@media (max-width: 991.98px) {
  .afk-hero-col .col-container { min-height: 62svh; }
  .overlay-content { width: 88%; padding: 20px; }
}

/* Grilles de cartes */
.souscategorie-container { padding: 2rem 1.25rem !important; }
.afk-grille-cartes { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .afk-grille-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
  .afk-grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .afk-grille-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .afk-grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) { .souscategorie-container { padding: 2.5rem 3rem !important; } }

.afk-grille-cartes .souscategorie-card {
  height: auto; aspect-ratio: 4 / 3; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}
.afk-grille-cartes .filtre {
  justify-content: flex-end; padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.65) 100%);
}
.afk-grille-cartes .souscategorie-card:hover .filtre {
  background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.72) 100%);
}
.afk-grille-cartes .filtre .btn-afk-light {
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: .38rem .95rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; line-height: 1.3;
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.afk-grille-cartes .filtre { padding: 14px; }
.afk-grille-cartes .souscategorie-card:hover .btn-afk-light { background: var(--afk-orange); border-color: var(--afk-orange); }

.afk-section-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.afk-section-titre h2 { margin: 0; font-size: 1.6rem; text-transform: uppercase; }
.afk-section-titre a { font-weight: 600; white-space: nowrap; }

/* Bandeau des catégories, sous-catégories et branches */
.afk-bandeau {
  position: relative; min-height: 46vh; display: flex;
  background-color: #1a1a1a; background-size: cover; background-position: center; background-repeat: no-repeat;
}
.afk-bandeau-voile {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
}
.afk-bandeau-carte {
  max-width: 760px; text-align: center; color: #fff; padding: 26px 30px;
  background: var(--afk-verre-sombre);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--afk-verre-bord); border-radius: 22px;
}
.afk-bandeau { min-height: 32vh; }
.afk-bandeau-voile { padding: 32px 16px; }
.afk-bandeau-carte { max-width: 620px; padding: 18px 24px; border-radius: 18px; }
.afk-bandeau-carte h1 { font-size: clamp(1.3rem, 2.4vw, 2rem); margin: 0; letter-spacing: .04em; font-weight: 700; }
.afk-bandeau-carte p {
  margin: 8px 0 0; font-size: .88rem; line-height: 1.5; opacity: .9;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 575.98px) {
  .afk-bandeau { min-height: 24svh; }
  .afk-bandeau-voile { padding: 22px 14px; }
  .afk-bandeau-carte { padding: 14px 16px; }
  .afk-bandeau-carte h1 { font-size: 1.2rem; }
  .afk-bandeau-carte p { font-size: .8rem; -webkit-line-clamp: 2; }
}

/* Fiche photo : tout tient dans le premier écran */
.photo-viewer-container { min-height: calc(100svh - var(--afk-entete)); display: flex; align-items: center; background: #111; }
.photo-background { height: 100%; }
.afk-photo-scene { position: relative; z-index: 1; width: 100%; padding: 24px 16px; }
.afk-photo-grille { max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.afk-photo-scene .photo-container { padding: 0; }
.afk-photo-scene .photo-wrapper { position: relative; display: inline-flex; max-height: none; margin: 0; }
.afk-photo-scene .main-image {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: calc(100svh - var(--afk-entete) - 48px);
  object-fit: contain; border-radius: 10px;
}
.afk-photo-scene .image-details {
  background: var(--afk-verre-clair);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
@media (min-width: 992px) {
  .afk-photo-grille { flex-direction: row; align-items: center; justify-content: center; gap: 24px; }
  .afk-photo-scene .photo-container { flex: 0 1 auto; }
  .afk-photo-scene .main-image { max-width: min(1100px, calc(100vw - 340px - 24px - 64px)); }
  .afk-photo-scene .image-details {
    flex: 0 0 340px; width: 340px;
    max-height: calc(100svh - var(--afk-entete) - 48px); overflow-y: auto; scrollbar-width: thin;
  }
}
@media (max-width: 991.98px) {
  .photo-viewer-container { min-height: 0; display: block; }
  .afk-photo-scene .main-image { max-height: 64svh; }
}

/* Masonry : la place de chaque image est réservée, plus de saut au chargement */
.masonry-item img { background: #e7e3dd; }
.masonry-grid { column-gap: 12px; }
.masonry-item { margin-bottom: 12px; }
.masonry-link { border-radius: 10px; }
.masonry-item img { border-radius: 10px; }
@media (max-width: 991.98px) { .masonry-grid { column-count: 3; } }
@media (max-width: 767.98px) { .masonry-grid { column-count: 2; } }

/* Barre de filtres sur une ligne */
.afk-entete-photos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 18px; }
.afk-entete-recherche { flex: 1 1 360px; max-width: 560px; }
.afk-entete-recherche .search-form { margin-top: 0; }
.afk-filtres {
  display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  padding: 8px; margin-bottom: 18px;
  background: var(--afk-verre-clair);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  position: sticky; top: calc(var(--afk-entete) + 8px); z-index: 5;
}
.afk-filtres::-webkit-scrollbar { display: none; }
.afk-filtres-ic { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--afk-noir); color: #fff; }
.afk-filtre {
  flex: 0 0 auto; appearance: none; -webkit-appearance: none;
  border: 1px solid rgba(0, 0, 0, .1); border-radius: 999px; background-color: #fff;
  padding: 8px 34px 8px 14px; font-size: .9rem; font-weight: 500; color: #111; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23DE7F06' d='M8 11 3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.afk-filtre:focus { outline: none; border-color: var(--afk-orange); box-shadow: 0 0 0 3px rgba(222, 127, 6, .2); }
.afk-filtre-reset {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1);
  background: #fff; color: #111; display: grid; place-items: center; cursor: pointer;
}
.afk-filtre-reset:hover { background: var(--afk-orange); color: #fff; border-color: var(--afk-orange); }
.afk-filtres-compte { flex: 0 0 auto; margin-left: auto; padding: 0 10px; font-size: .85rem; color: #555; white-space: nowrap; }

/* Application Android */
.afk-natif-entete {
  position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}
.afk-natif-logo img { height: 30px; width: auto; display: block; }
.afk-natif-panier { position: relative; color: #fff; font-size: 1.35rem; line-height: 1; padding: 6px; }
.afk-natif-pastille {
  position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--afk-orange); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
body.is-native { -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
body.is-native .afk-hero-col .col-container { min-height: 56svh; }

html, body { overflow-x: hidden; overflow-x: clip; }
.afk-photo-scene .photo-container { display: flex; justify-content: center; min-width: 0; }
.afk-photo-scene .photo-wrapper { max-width: 100%; }
.afk-photo-scene .main-image { min-width: 0; }
@media (max-width: 991.98px) {
  .menu-principal > .row { flex-wrap: nowrap; }
  .menu-principal > .row > [class*="col-"] { width: auto; flex: 0 0 auto; }
  .menu-principal > .row > .col-5 { flex: 1 1 auto; min-width: 0; }
  .menu-principal .logo { width: auto; max-width: 100%; max-height: 40px; margin: 0; }
  .menucart { display: flex; align-items: center; gap: 8px; }
  .menucart > .nav-link { white-space: nowrap; font-size: .85rem; }
  .menucart .dropdown .btn { padding: 6px 10px; font-size: .8rem; border-radius: 999px; }
  .btn-menu-afk { padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
}
@media (max-width: 420px) {
  .menucart > .nav-link { font-size: 0; }
  .menucart > .nav-link .bi-cart { font-size: 1.2rem; }
  .menucart > .nav-link #cart-count { font-size: .8rem; }
}

/* Masonry disposé en grille : ordre de lecture conservé, place réservée, apparition en fondu */
.afk-js .masonry-grid {
  display: grid; grid-template-columns: repeat(var(--afk-colonnes, 4), minmax(0, 1fr));
  grid-auto-rows: 4px; column-gap: 12px; row-gap: 0; align-items: stretch;
}
.afk-js .masonry-grid:not(.est-pret) { visibility: hidden; }
.afk-js .masonry-item { display: block; margin: 0; padding-bottom: 12px; min-height: 0; }
.afk-js .masonry-link {
  height: 100%;
  background: linear-gradient(100deg, #ebe6df 30%, #f7f4f0 50%, #ebe6df 70%);
  background-size: 300% 100%;
  animation: afk-lueur 1.3s ease-in-out infinite;
}
.afk-js .masonry-item img {
  height: 100%; object-fit: cover; background: none;
  opacity: 0; transition: opacity .5s ease, transform .3s ease;
}
.afk-js .masonry-item img.est-chargee { opacity: 1; }
.afk-js .masonry-link:has(img.est-chargee) { animation: none; background: #ebe6df; }
@keyframes afk-lueur { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .afk-js .masonry-link { animation: none; }
  .afk-js .masonry-item img { transition: none; }
}

/* Fiche photo : panneau de détails compact */
.afk-photo-scene .image-details { padding: 18px; color: #161616; }
.afk-photo-titre { font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 6px; line-height: 1.3; }
.afk-photo-description {
  font-size: .82rem; line-height: 1.5; color: #3d3d3d; margin: 0 0 10px; cursor: pointer;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.afk-photo-description.est-ouverte { -webkit-line-clamp: unset; display: block; }
.afk-photo-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 12px; font-size: .82rem; color: #555; }
.afk-photo-prix strong { font-size: 1.05rem; color: var(--afk-orange); }
.afk-photo-bloc { margin-bottom: 12px; }
.afk-photo-bloc h2 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #6b6b6b; margin: 0 0 6px; }
.afk-photo-actions .btn { font-size: .88rem; padding: .55rem 1rem; border-radius: 999px; }
.afk-photo-actions .afk-photo-plan { font-size: .75rem; color: #666; margin: 10px 0 6px; font-weight: 600; }
.afk-photo-actions .alert { font-size: .8rem; padding: .5rem .75rem; }

.afk-defile {
  display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  cursor: grab; user-select: none; -webkit-user-select: none; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.afk-defile::-webkit-scrollbar { display: none; }
.afk-defile.est-glisse { cursor: grabbing; scroll-snap-type: none; }
.afk-defile.est-glisse a { pointer-events: none; }
.afk-defile a { -webkit-user-drag: none; scroll-snap-align: start; flex: 0 0 auto; white-space: nowrap; }
.afk-defile .souscategory-link, .afk-defile .tag-link {
  margin: 0; padding: 5px 11px; font-size: .76rem; border: 1px solid transparent; line-height: 1.3;
}
.afk-defile .tag-link i { font-size: .68rem; }
.afk-entete-photos .photos-headline { font-size: 1.35rem; letter-spacing: .02em; }
.afk-entete-photos p { font-size: .88rem; color: #555; }
@media (max-width: 575.98px) {
  .afk-entete-photos .photos-headline { font-size: 1.1rem; }
  .afk-entete-photos p { font-size: .8rem; }
}

/* Cartes : vraie image différée plutôt qu'un fond CSS chargé d'emblée */
img.bg-image { object-fit: cover; object-position: center; display: block; }
.souscategorie-card { background: #2a2a2a; }

/* Prix mis en avant sur les vignettes : au survol sur ordinateur, toujours visible sur écran tactile */
.afk-prix {
  position: absolute; top: 10px; left: 10px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: baseline; gap: 6px; max-width: calc(100% - 20px);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap; overflow: hidden;
  background: rgba(12, 12, 12, .58);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-size: .78rem; line-height: 1.2; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.afk-prix strong { color: #ffb648; font-weight: 700; font-size: .92rem; }
.afk-prix-xaf { opacity: .9; text-overflow: ellipsis; overflow: hidden; }
@media (hover: hover) {
  .afk-prix { opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; }
  .masonry-link:hover .afk-prix, .masonry-link:focus-visible .afk-prix { opacity: 1; transform: none; }
}
@media (hover: none) {
  .afk-prix { top: auto; bottom: 8px; left: 8px; padding: 4px 9px; font-size: .68rem; gap: 5px; }
  .afk-prix strong { font-size: .8rem; }
}
@media (hover: none) and (max-width: 420px) {
  .afk-prix-xaf { display: none; }
}

/* Pagination, panier, paiement, connexion, à propos */
.btn { border-radius: 999px; }
.input-group > .btn { border-radius: 0; }
.btn-afk, .btn-noir { padding: .55rem 1.25rem; font-weight: 600; font-size: .92rem; }
.btn-afk { border: 1px solid var(--afk-orange); }
.btn-afk:hover { border-color: var(--afk-orange); }
.btn-sm { padding: .3rem .8rem; font-size: .8rem; }

.afk-pages {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px;
  background: var(--afk-verre-clair);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0, 0, 0, .06); border-radius: 28px; box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}
.afk-page {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px;
  color: #161616; font-size: .9rem; font-weight: 500; line-height: 1; transition: background .2s ease, color .2s ease;
}
a.afk-page:hover, a.afk-page:focus-visible { background: rgba(222, 127, 6, .16); color: #161616; }
.afk-page.est-courante { background: var(--afk-noir); color: #fff; font-weight: 700; }
.afk-page-fleche { background: #fff; padding: 0; color: var(--afk-orange); }
.afk-page.est-inactive { opacity: .35; }
.afk-page-vide { min-width: 24px; padding: 0; color: #777; }
@media (max-width: 480px) {
  .afk-page { min-width: 36px; height: 36px; padding: 0 6px; font-size: .84rem; }
  .afk-pages { gap: 2px; padding: 5px; }
}

.afk-message {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; margin: 0 0 16px; border-radius: 14px;
  background: rgba(30, 122, 70, .12); border: 1px solid rgba(30, 122, 70, .3); color: #14532d; font-size: .88rem;
}
.afk-message.est-alerte { background: rgba(190, 40, 30, .1); border-color: rgba(190, 40, 30, .3); color: #8c1d14; }
.afk-message ul { margin: 0; padding: 0; list-style: none; }

.afk-champ { margin-bottom: 14px; }
.afk-champ label { display: block; margin-bottom: 5px; font-size: .82rem; font-weight: 600; }
.afk-champ input, .afk-champ select, .afk-champ-carte {
  display: block; width: 100%; min-height: 46px; padding: 10px 16px; border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .14); background: rgba(255, 255, 255, .85); color: #111; font-size: 1rem;
}
.afk-champ-carte { padding: 13px 16px; }
.afk-champ input:focus, .afk-champ select:focus, .afk-champ-carte.StripeElement--focus {
  outline: none; border-color: var(--afk-orange); box-shadow: 0 0 0 3px rgba(222, 127, 6, .22);
}
.afk-champ small { display: block; margin-top: 4px; font-size: .76rem; opacity: .75; }
.afk-champ-erreur { margin-top: 6px; font-size: .82rem; color: #8c1d14; }
.afk-case { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: .88rem; }
.afk-case input { width: 18px; height: 18px; accent-color: var(--afk-orange); }

.afk-page-achat {
  max-width: 1080px; min-height: 60svh; margin: 0 auto; padding: 28px 16px 56px;
}
.afk-achat-entete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.afk-achat-entete h1 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.8rem); text-transform: uppercase; letter-spacing: .03em; }
.afk-achat-entete span, .afk-achat-entete a { font-size: .88rem; }
.afk-achat-entete span { color: #555; }
.afk-achat { display: grid; gap: 18px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .afk-achat { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .afk-recap { position: sticky; top: calc(var(--afk-entete) + 16px); }
}
.afk-achat .afk-verre-clair, .afk-vide { background: rgba(255, 255, 255, .78); border-color: rgba(0, 0, 0, .06); box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.afk-recap, .afk-paiement { padding: 18px; }
.afk-recap h2, .afk-paiement h2 { margin: 0 0 14px; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }

.afk-panier { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.afk-panier-ligne {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 38px; align-items: center; gap: 12px; padding: 10px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(0, 0, 0, .06); border-radius: 18px; box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}
.afk-panier-image { display: block; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #ebe6df; }
.afk-panier-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.afk-panier-icone { display: grid; place-items: center; background: var(--afk-noir); color: #ffb648; font-size: 1.5rem; }
.afk-panier-texte { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.afk-panier-texte strong {
  font-size: .92rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.afk-panier-texte strong::first-letter { text-transform: uppercase; }
.afk-panier-texte small { color: #666; font-size: .78rem; }
.afk-panier-prix { font-weight: 700; color: var(--afk-orange); white-space: nowrap; font-size: .95rem; }
.afk-panier-ligne form { margin: 0; }
.afk-panier-retirer {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1);
  background: #fff; color: #8c1d14; cursor: pointer;
}
.afk-panier-retirer:hover { background: #8c1d14; color: #fff; }
@media (max-width: 480px) {
  .afk-panier-ligne { grid-template-columns: 60px minmax(0, 1fr) 36px; gap: 4px 10px; }
  .afk-panier-image { width: 60px; height: 60px; grid-row: 1 / span 2; }
  .afk-panier-texte { grid-column: 2; grid-row: 1; }
  .afk-panier-prix { grid-column: 2; grid-row: 2; }
  .afk-panier-ligne form { grid-column: 3; grid-row: 1 / span 2; }
  .afk-panier-retirer { width: 36px; height: 36px; }
}

.afk-recap-liste { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid rgba(0, 0, 0, .1); display: grid; gap: 8px; }
.afk-recap-liste li { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; }
.afk-recap-liste span:first-child { min-width: 0; overflow-wrap: anywhere; color: #444; }
.afk-recap-liste span:last-child { white-space: nowrap; font-weight: 600; }
.afk-recap-total { display: flex; align-items: baseline; justify-content: space-between; }
.afk-recap-total strong { font-size: 1.4rem; color: var(--afk-orange); }
.afk-recap-xaf { margin: 0 0 14px; text-align: right; font-size: .82rem; color: #555; }
.afk-paiement + .afk-recap .afk-recap-xaf { margin-bottom: 0; }
.afk-recap-lien { display: block; margin-top: 12px; text-align: center; font-size: .86rem; font-weight: 600; }
.afk-vide { padding: 48px 20px; text-align: center; }
.afk-vide i { font-size: 2.2rem; color: var(--afk-orange); }
.afk-vide p { margin: 10px 0 18px; }

.afk-moyens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
@media (max-width: 480px) { .afk-moyens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.payment-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px;
  border: 1px solid rgba(0, 0, 0, .12); border-radius: 16px; background: rgba(255, 255, 255, .7); color: #161616;
  font-size: .84rem; font-weight: 600; cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.payment-btn i { font-size: 1.2rem; color: var(--afk-orange); }
.payment-btn:hover { border-color: var(--afk-orange); }
.payment-btn.active { background: var(--afk-noir); border-color: var(--afk-noir); color: #fff; }
.payment-btn.active i { color: #ffb648; }
.afk-aide { margin: 0 0 14px; font-size: .85rem; color: #555; }

#cartModal .modal-dialog { max-width: 360px; margin-inline: auto; padding: 0 16px; }
#cartModal .modal-content { position: relative; padding: 24px 20px 20px; border-radius: 24px; background: rgba(255, 255, 255, .86); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
#cartModal .btn-close { position: absolute; top: 14px; right: 14px; padding: 8px; font-size: .75rem; }
.afk-ajout-icone { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%; background: rgba(222, 127, 6, .16); color: var(--afk-orange); font-size: 1.5rem; }
#cartModal h5 { margin: 0 0 4px; font-size: 1.1rem; }
#cartModalMessage { margin: 0 0 16px; font-size: .88rem; color: #555; }
.afk-ajout-actions { display: grid; gap: 8px; }

.afk-acces { display: flex; min-height: calc(100svh - var(--afk-entete)); background: #16110b center / cover no-repeat; }
.afk-acces-voile {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px;
  background: linear-gradient(160deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .35) 50%, rgba(80, 40, 0, .5));
}
.afk-acces-carte {
  width: 100%; max-width: 420px; padding: 28px 24px; color: #fff; border-radius: 26px;
  background: rgba(12, 12, 12, .6);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--afk-verre-bord); box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.afk-acces-carte h1 { margin: 0 0 6px; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; }
.afk-acces-texte { margin: 0 0 18px; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.afk-acces-carte .afk-champ input { background: rgba(255, 255, 255, .94); border-color: transparent; }
.afk-acces-carte .afk-message { background: rgba(30, 122, 70, .35); border-color: rgba(120, 220, 160, .4); color: #fff; }
.afk-acces-carte .afk-message.est-alerte { background: rgba(170, 35, 25, .5); border-color: rgba(255, 150, 140, .45); }
.afk-acces-bouton { width: 100%; padding: .7rem 1.25rem; }
.afk-acces-liens { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; text-align: center; font-size: .86rem; }
.afk-acces-liens a { color: #ffb648; font-weight: 600; }
.afk-acces-suppression {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .18); font-size: .82rem;
}

.afk-apropos-hero { display: flex; min-height: 44svh; background: #16110b center / cover no-repeat; }
.afk-apropos-hero-voile { flex: 1; display: flex; align-items: center; justify-content: center; padding: 36px 16px; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .55)); }
.afk-apropos-hero-carte {
  max-width: 720px; padding: 24px; text-align: center; color: #fff; border-radius: 24px; background: var(--afk-verre-sombre);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--afk-verre-bord);
}
.afk-apropos-hero-carte img { height: 34px; width: auto; max-width: 70%; margin-bottom: 12px; }
.afk-apropos-hero-carte h1 { margin: 0 0 8px; font-size: clamp(1.3rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: .04em; }
.afk-apropos-hero-carte p { margin: 0; line-height: 1.6; font-size: .95rem; }
.afk-apropos { max-width: 1080px; margin: 0 auto; padding: 28px 16px 56px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.afk-apropos p { line-height: 1.65; font-size: .94rem; }
.afk-apropos p:last-child { margin-bottom: 0; }
.afk-apropos .afk-verre-clair { background: rgba(255, 255, 255, .78); border-color: rgba(0, 0, 0, .06); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.afk-apropos-texte { padding: 22px; }
.afk-apropos-titre { margin: 0 0 14px; font-size: 1.3rem; text-transform: uppercase; color: #161616; }
.afk-apropos-duo { display: grid; background: var(--afk-noir); color: #fff; border-radius: 24px; overflow: hidden; }
.afk-apropos-duo > img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; object-position: center 25%; }
.afk-apropos-duo > div { padding: 22px; }
.afk-apropos-duo h2 { font-size: 1.25rem; margin: 0 0 10px; }
.afk-apropos-duo details p:first-of-type { margin-top: 12px; }
.afk-apropos-duo summary { color: #ffb648; font-weight: 600; font-size: .9rem; cursor: pointer; }
@media (min-width: 800px) {
  .afk-apropos-duo { grid-template-columns: 40% minmax(0, 1fr); align-items: start; }
  .afk-apropos-duo > img { max-height: none; min-height: 100%; }
  .afk-apropos-duo > div { padding: 32px; align-self: center; }
  .afk-apropos-texte { padding: 32px; }
}
.afk-apropos-arguments { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.afk-apropos-arguments article { padding: 20px; }
.afk-apropos-arguments i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 14px; background: var(--afk-noir); color: #ffb648; font-size: 1.2rem; }
.afk-apropos-arguments h3 { font-size: 1.02rem; line-height: 1.35; margin: 0 0 8px; }
.afk-apropos-arguments p { font-size: .88rem; color: #444; margin: 0; }
.afk-apropos-partenaires { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 56px; padding: 24px; }
.afk-apropos-partenaires img { max-width: 240px; width: 42%; min-width: 130px; height: auto; }

@media (min-width: 992px) and (max-width: 1399.98px) {
  .menu-principal > .row { flex-wrap: nowrap; }
  .menu-principal > .row > [class*="col-"] { width: auto; flex: 0 0 auto; }
  .menu-principal > .row > .col-xxl-8 { flex: 1 1 auto; min-width: 0; }
  .menu-principal .logo { width: auto; max-height: 42px; }
  .menu-principal .nav-link { font-size: .78rem; padding: .4rem .5rem; white-space: nowrap; }
  .menucart { display: flex; align-items: center; gap: 8px; }
  .menucart .dropdown .btn { padding: 6px 10px; font-size: .78rem; }
}

@media (min-width: 800px) { .afk-apropos-seul { grid-template-columns: minmax(0, 1fr); } }
.afk-acces, .afk-apropos-hero { background-position: center 30%; }
