/* --- HEADER PREMIUM MOBILE ONLY --- */
.ph-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  /* Bande bleu foncé avec dégradé */
  .ph-header-bar {
    background: linear-gradient(90deg, #0D1C2E 0%, #1E2F44 50%, #0D1C2E 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 16px;
    position: relative;
    margin-bottom: 1px;
  }
  
  /* Menu burger à gauche */
  .ph-header-menu-btn {
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 44px;
    width: 25px;
    cursor: pointer;
    margin-right: 10px;
  }
  
  /* Logo au centre (plus grand + ombre légère) */
  .ph-header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .ph-header-logo img {
    height: 32px; /* PLUS GRAND */
    width: auto;
    display: block;
    filter: drop-shadow(0 1.5px 8px rgba(0,0,0,0.13)); /* OMBRE */
  }
  
  .ph-header-actions {
    display: flex;
    align-items: center;
    gap: 4px; /* plus rapprochées */
    margin-right: -6px; /* plus proches du bord droit */
  }
  
  .ph-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    text-decoration: none;
    transition: transform 0.13s;
    padding: 0;
    margin: 0;
  }
  
  .ph-header-icon svg {
    width: 24px; /* taille réduite */
    height: 24px;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.12)); /* ombre légère conservée */
  }
  
  
  /* --- Bannière défilante sticky sous le header --- */
  .product-banner {
    position: fixed !important;
    top: 64px;
    z-index: 45;
    width: 100%;
   
    margin-bottom: 0;
  }
  
  /* Adapter pour mobile XS */
  @media (max-width: 350px) {
    .ph-header-logo img { height: 40px; }
    .ph-header-bar { height: 50px; padding: 0 7px;}
    .product-banner { top: 50px; }
  }
  /* --- Menu déroulant premium (version bleue) --- */
  .ph-header-dropdown {
    position: absolute;
    left: 10px;
    right: 10px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
  
    /* Ombres bleutées élégantes */
    box-shadow: 
      0 8px 32px rgba(13, 28, 46, 0.10), 
      0 1.5px 10px rgba(13, 28, 46, 0.05);
  
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px) scale(0.98);
    transition: all 0.22s cubic-bezier(.57,1.52,.46,.85);
    max-width: 92vw;
    width: 98vw;
    min-width: 0;
    z-index: 100;
  }
  
  /* TOP du menu dynamique en JS */
  .ph-header-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  
  .ph-header-dropdown ul {
    margin: 0;
    padding: 10px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .ph-header-dropdown li {
    width: 100%;
  }
  
  /* Lien du menu */
  .ph-dropdown-link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 13px 24px;
    gap: 15px;
    font-size: 1.14rem;
    font-weight: 500;
  
    /* Couleur bleue principale */
    color: #0D1C2E;
  
    border: none;
    background: none;
    text-decoration: none;
    border-radius: 10px;
  
    /* Hover élégant */
    transition: background 0.12s;
  }
  
  /* Effet au survol */
  .ph-dropdown-link:hover {
    background: rgba(13, 28, 46, 0.06);
  }
  
  .ph-dropdown-link:active {
    background: #f2fcf7;
  }
  .ph-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Overlay */
  .ph-header-overlay {
    display: none;
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0; right: 0; bottom: 0;
    background: rgba(20, 40, 40, 0.08);
    backdrop-filter: blur(1px);
    animation: fadeIn 0.25s;
  }
  
  .ph-header-overlay.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @media (min-width: 600px) {
    .ph-header-bar { max-width: 470px; margin: 0 auto; border-radius: 20px; }
    .ph-header-dropdown { max-width: 430px; }
  }
  
  /* === Notification ajout panier === */
  .cart-confirm-banner {
    position: fixed;
    top: 112px; /* header (64px) + bannière (48px) */
    left: 0;
    width: 100%;
    background-color: #f6fff9; /* blanc cassé tirant vers le vert */
    border-bottom: 1px solid #d1e3f3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
  }
  .cart-confirm-banner.show {
    transform: translateY(0%);
    opacity: 1;
  }
  .cart-confirm-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1e1e1e; /* noir clair */
    gap: 10px;
  }
  
  /* === Anim panier header === */
  .ph-header-icon.animate-cart {
    animation: cart-bounce 0.45s ease;
  }
  @keyframes cart-bounce {
    0%   { transform: scale(1); }
    25%  { transform: scale(1.2) rotate(-4deg); }
    50%  { transform: scale(1) rotate(2deg); }
    75%  { transform: scale(1.1) rotate(-2deg); }
    100% { transform: scale(1); }
  }
  #cart-count.animate-count {
    animation: count-pulse 0.6s ease;
  }
  @keyframes count-pulse {
    0%   { transform: scale(1); background: #fff; }
    50%  { transform: scale(1.3); background: #0da877; color: #fff; }
    100% { transform: scale(1); background: #0da877; }
  }
  
  
  .site-footer-premium {
    background: none;
    text-align: center;
    padding: 34px 0 12px 0;
    color: #9FB1C8;
    font-size: .97em;
    font-family: 'Inter', Arial, sans-serif;
    user-select: none;
  }
  .footer-logo-link {
    display: inline-block;
    margin-bottom: 8px;
    transition: opacity .13s;
  }
  .footer-logo-link:hover { opacity: 0.8; }
  .footer-logo-img {
    height: 20px;
    width: auto;
    display: block;
    margin: 0 auto 7px auto;
   
    box-shadow: none;
    background: none;
  }
  .footer-copyright {
    margin-bottom: 6px;
    color: #6B7588;
    font-size: 0.99em;
    letter-spacing: .02em;
  }
  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 11px;
    margin-top: 2px;
  }
  .footer-links a {
    color: #0D1C2E;
    text-decoration: none;
    font-weight: 600;
    transition: color .15s;
    font-size: 1em;
    padding: 0 3px;
  }
  .footer-links a:hover {
    color: #233559;
    text-decoration: underline;
  }
  .footer-link-sep {
    color: #B8B7B0;
    font-weight: bold;
    font-size: 1.05em;
    user-select: none;
  }
  @media (max-width: 600px) {
    .site-footer-premium {
      font-size: .97em;
      padding-bottom: 12px;
      padding-top: 24px;
    }
    .footer-logo-img { height: 20px; }
  }
  