@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2');
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Style et dimensionnement du logo agrandi dans la Navbar */
.navbar-logo {
    height: 65px;          /* Augmenté de 45px à 65px pour une belle visibilité */
    width: auto;           /* Conserve les proportions d'origine */
    object-fit: contain;
    transition: transform 0.2s ease;
}

navbar, header {
    z-index: 1040 !important; /* Bootstrap place les navbars collantes à 1030 */
}


/* 1. On élève l'ordre d'empilement de la barre de navigation sans toucher à sa position (sticky/fixed) */
.navbar, header nav {
    z-index: 1050 !important;
}

/* 2. On baisse l'ordre d'empilement du grand header avec photo de index.php */
header.position-relative {
    z-index: 1 !important;
}


/* Limiter l'empilement du pavé récapitulatif */
.sticky-lg-top {
    z-index: 1010;
}

/* On réduit un peu les marges hautes et basses de la navbar pour compenser la taille du logo */
.navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

/* Optionnel : Un léger effet de survol */
.navbar-logo:hover {
    transform: scale(1.03);
}

/* Ajustement de la hauteur du logo sur mobile pour qu'il ne prenne pas tout l'écran */
@media (max-width: 768px) {
    .navbar-logo {
        height: 50px; 
    }
}

/* Ta couleur de logo personnalisée pour les éléments textes de Bootstrap */
.text-info {
    color: #0184d4 !important;
}

.bg-primary {
	background-color: #0184d4;
	 color: #fff !important;
}

/* Boutons personnalisés avec ta couleur */
.btn-info {
    background-color: #0184d4;
    border-color: #0184d4;
}
.btn-info:hover {
    background-color: #016fa3; /* Un bleu légèrement plus foncé pour le survol */
    border-color: #016fa3;
}

/* Outline pour les boutons de choix */
.btn-outline-info {
    color: #0184d4;
    border-color: #0184d4;
}
.btn-outline-info:hover {
    background-color: #0184d4;
    border-color: #0184d4;
    color: white;
}

.bg-purple-subtle {
    background-color: #e2d9f3 !important;
}
.text-purple-emphasis {
    color: #432874 !important;
}

/*POUR ANCRES*/
[id] {
  scroll-margin-top: 100px; /* Ajuste selon la hauteur de ton menu */
}


/* HAUT DE PAGE */
/* Animation et effet sur le bouton de retour en haut */
#backToTop {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#backToTop:hover {
    transform: scale(1.1); /* Léger zoom au survol */
    background-color: #0184d4 !important; /* Devient bleu Juski au survol */
    border-color: #0184d4 !important;
}

/* PAGE INDEX */
/* Effet d'animation et de zoom pour le bouton histoire */
.hover-scale {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.hover-scale:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 15px rgba(1, 132, 212, 0.4) !important;
}

/* Animation de la petite flèche */
.hover-scale .transition-arrow {
    transition: transform 0.2s ease;
}

.hover-scale:hover .transition-arrow {
    transform: translateX(4px);
}

/*PAGE VENTE*/

.brand-grid-item {
	height: 170px; 
	transition: all 0.3s ease-in-out;
}
.brand-grid-img {
	max-height: 115px; 
	max-width: 100%;
	filter: none !important;        /* <-- Re-force les couleurs d'origine */
	-webkit-filter: none !important; /* Forçage spécifique pour Safari / Chrome mobile */
	opacity: 1 !important;           /* Pas de transparence par défaut */
	transition: all 0.3s ease-in-out;
}
/* L'effet de survol fait simplement bouger la carte */
.brand-card-link:hover .brand-grid-item {
	transform: translateY(-5px);
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

/*PAGE RESERVATION*/

@media (min-width: 992px) {
    .sticky-lg-top {
        /* 90px de marge haute + espace pour ne pas dépasser l'écran */
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }
}

/* Style des boutons radios (catégories) cochés */
.btn-check:checked + .btn-outline-dark {
    background-color: #0184d4 !important;
    border-color: #0184d4 !important;
    color: white !important;
}

.xsmall {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Cartes produits */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-	3px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

/* Barre de défilement du panier aux couleurs du logo */
.panier-liste::-webkit-scrollbar {
    width: 6px;
}
.panier-liste::-webkit-scrollbar-thumb {
    background: #0184d4;
    border-radius: 4px;
}
/* --- Corrections pour la lisibilité du panier (texte blanc sur fond sombre) --- */

/* Force le texte de description des packs en blanc/gris très clair */
.bg-dark .xsmall.text-muted {
    color: #cbd5e1 !important; /* Un gris clair très lisible */
}

/* Force les intitulés en gras comme "Packs :", "Pointure :" en blanc */
.bg-dark .xsmall strong {
    color: #ffffff !important;
}

/* Personnalisation du badge de prix pour chaque skieur */
.bg-dark .badge.bg-light.text-dark {
    background-color: #0184d4 !important; /* Ton bleu de logo */
    color: #ffffff !important;            /* Texte écrit en blanc */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ajustement des bordures des blocs skieurs pour qu'elles soient plus subtiles */
.bg-dark .border-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
    
}
/* Rend le texte et l'icône visibles lorsque le panier est vide */
.bg-dark .text-muted {
    color: #a3b1c6 !important; /* Un gris clair/argenté parfaitement visible sur fond noir */
}
/* Style pour le bouton de suppression d'un article */
.line-remove {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.6;
}
.line-remove:hover {
    opacity: 1;
    transform: scale(1.1);
}
/* Effet au survol du lien "En savoir plus" */
.hover-link {
    transition: color 0.2s ease;
}
.hover-link:hover {
    color: #0184d4 !important; /* Devient bleu JUSKI Sports au survol */
}
.pack-photo-full {
    width: 100% !important;
    height: auto !important;      /* Laisse la hauteur s'adapter proportionnellement */
    /*max-height: 200px;            /* Limite la hauteur maximale pour garder une harmonie visuelle */
    object-fit: contain;          /* Affiche l'image entière sans la couper */
    background-color: #f8f9fa;    /* Optionnel : ajoute un fond gris très clair si l'image a un fond transparent */
    padding: 10px;                /* Optionnel : un petit espace pour que l'image ne colle pas aux bords */
}


/* ==========================================================================
   STYLE DES CARTES D'OPTIONS SELECTIONNABLES (RESERVATION)
   ========================================================================== */

/* Style des conteneurs/étiquettes des options cliquables */
.option-card-label {
    border-radius: 8px;
    border: 2px solid #dee2e6 !important;
    position: relative; /* Indispensable pour positionner la coche verte absolue */
}

.option-card-label:hover {
    border-color: #0184d4 !important;
    background-color: rgba(13, 202, 240, 0.03);
}

/* Comportement lorsque la case (invisible en arrière-plan) est cochée */
.btn-check:checked + .option-card-label {
    border-color: #198754 !important; /* Bordure passe au vert */
    background-color: rgba(25, 135, 84, 0.08); /* Fond vert très clair */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ajout d'une coche de confirmation dynamique en haut à droite */
.btn-check:checked + .option-card-label::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 8px;
    background: #198754;
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*FOOTER*/
/* Style de base des icônes réseaux */
.social-icon {
    color: #0184d4; /* C'est le bleu "info" de Bootstrap */
    font-size: 1.75rem; /* Équivalent d'un bon compromis de taille (entre fs-2 et fs-3) */
    text-decoration: none;
    transition: color 0.25s ease-in-out, transform 0.2s ease-in-out;
    display: inline-block;
}
/* Effet au survol (devient gris adouci + léger effet de rebond) */
.social-icon:hover {
    color: rgba(255, 255, 255, 0.7) !important; /* Un blanc adouci à 70% pour un gris clair parfait */
    transform: translateY(-3px); /* Optionnel : l'icône monte très légèrement de 3px pour un effet vivant */
}
/* Style par défaut des liens du footer et du téléphone */
.footer-lien, 
.footer-phone {
    color: rgba(255, 255, 255, 0.7) !important; /* Un blanc adouci à 70% pour un gris clair parfait */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}
/* Style au survol (Bleu Juski) */
.footer-lien:hover,
.footer-lien:hover i {
    color: #0184d4 !important; /* Le bleu cyan "info" de Juski */
}
/* En-tête personnalisé bleu Juski pour les tableaux */
.thead-juski th {
    background-color: #0184d4 !important;
    color: #ffffff !important;
    border-bottom: none !important;
}
/* Styles des liens dans le footer */
.footer-lien {
    transition: color 0.2s ease, padding-left 0.2s ease;
}
/*CAROUSSEL*/
.brands-ticker {
    overflow: hidden;
    width: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.03); /* Léger fond pour l'élégance */
    padding: 15px 0; /* CHANGER ICI ESPACEMENT 25px */
    display: flex;
    align-items: center;
}

/* Les dégradés transparents sur les côtés pour masquer l'apparition des logos */
.brands-ticker::before, .brands-ticker::after {
    background: linear-gradient(to right, #212529 0%, rgba(33, 37, 41, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.brands-ticker::before { left: 0; }
.brands-ticker::after { right: 0; transform: rotateZ(180deg); }

.brands-ticker-track {
    display: flex;
    align-items: center;
    animation: scrollContinuous 35s linear infinite; /* Vitesse globale du défilement */
}

.brands-ticker-item {
    width: 150px; /*CHANGER ICI LARGEUR EMPLCEMENT LOGO 200px */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px; /*CHANGER ICI ESPACEMENT ENTRE LOGOS 35px */
}

.brands-ticker-item img {
    max-width: 90px; /*CHANGER ICI LARGEUR MAX LOGO 130px */
    height: 38px; /* CHANGER ICI HAUTEUR FIXE LOGOS 55px */
    object-fit: contain; /* Empêche la déformation, gère le mix paysage/portrait */
    filter: grayscale(100%); /* Look moderne monochrome par défaut */
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
}

/* Au survol d'un logo : il s'illumine et reprend ses couleurs */
.brands-ticker-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* Met en pause le carrousel complet quand l'utilisateur lorgne sur une marque */
.brands-ticker:hover .brands-ticker-track {
    animation-play-state: paused;
}

/* Animation CSS pure */
@keyframes scrollContinuous {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Se déplace exactement de la moitié (la partie dupliquée) */
}
