body { padding-bottom: 60px; } .card-img-top { height:200px; object-fit:cover; }
/* ========= FOOTER ULTRA PREMIUM ========= */

.site-footer {
    background: var(--footer-bg, #050509);
  color: var(--footer-text, #f5f5f7);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Liens généraux */
.site-footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Bandeau piliers */
.footer-pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 220px;
}

.footer-pill i {
  font-size: 1.2rem;
  opacity: 0.9;
}

.footer-pill-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-pill-text {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Zone principale */
.footer-main {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  font-size: 0.9rem;
}

/* Bloc marque */
.footer-logo-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary, var(--color-primary, #0d6efd)), #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050509;
  font-size: 1rem;
}

.footer-brand-name {
  font-weight: 600;
  font-size: 1rem;
}

.footer-brand-tagline {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-description {
  font-size: 0.88rem;
  opacity: 0.75;
}

/* Newsletter */
.footer-newsletter-form {
  max-width: 360px;
}

.footer-newsletter-input {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter-input input {
  border: none;
  background: transparent;
  color: #f5f5f7;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  flex: 1;
  outline: none;
}

.footer-newsletter-input input::placeholder {
  color: rgba(245, 245, 247, 0.5);
}

.btn-footer-icon {
  border: none;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary, var(--color-primary, #0d6efd));
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-footer-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
  opacity: 0.95;
}

/* Réseaux sociaux */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-social-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

/* Mini-footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: #050509;
}

.footer-bottom-links a {
  opacity: 0.7;
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 767.98px) {
  .footer-pill-row {
    padding-bottom: 1.75rem;
  }

  .footer-main {
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  .footer-newsletter-form {
    max-width: 100%;
  }

  .footer-bottom .container {
    text-align: center;
  }
}
.country-modal {
    padding: 1.25rem 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.country-modal-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #111827, #0f172a);
    color: #f9fafb;
    font-size: 1.1rem;
}

.country-modal .xsmall {
    font-size: 0.72rem;
    line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
    .country-modal {
        background: rgba(15, 23, 42, 0.96);
        color: #e5e7eb;
    }
    .country-modal .form-label,
    .country-modal .text-muted {
        color: #9ca3af !important;
    }
}
.btn.rounded-circle i {
    font-size: 1rem;
}

.btn.rounded-circle {
    width: 34px;
    height: 34px;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn.rounded-circle:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.navbar-brand {
      gap: .5rem;
    }

    .search-input-group .form-control {
      border-radius: 999px;
      padding-left: 2.5rem;
    }

    .search-input-group .search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      color: #6c757d;
    }

    .mega-menu {
      position: absolute;
      z-index: 1100;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
      padding: 1rem;
      display: none;
      min-width: 320px;
      max-width: 720px;
      transform-origin: top left;
    }

    .mega-menu .col-left {
      border-right: 1px solid rgba(0, 0, 0, .06);
      padding-right: 1rem;
    }

    .mega-menu h6 {
      font-size: .95rem;
      margin-bottom: .6rem;
    }

    .mega-menu a {
      display: block;
      padding: .15rem 0;
      color: #212529;
      text-decoration: none;
    }

    .mega-menu a:hover {
      color: var(--color-primary, var(--color-primary, #0d6efd));
    }

    .profile-toggle {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      cursor: pointer;
    }

    .profile-dropdown {
      position: absolute;
      top: calc(100% + .5rem);
      right: 0;
      min-width: 200px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
      padding: .5rem;
      display: none;
      z-index: 1200;
    }

    .profile-dropdown a {
      display: flex;
      gap: .6rem;
      align-items: center;
      padding: .5rem;
      border-radius: 8px;
      color: #222;
      text-decoration: none;
    }

    .profile-dropdown a:hover {
      background: rgba(0, 0, 0, .03);
      color: var(--color-primary, var(--color-primary, #0d6efd));
    }

    .cart-badge {
      position: absolute;
      top: -6px;
      right: -6px;
      font-size: .65rem;
      padding: .25rem .45rem;
      border-radius: 999px;
      background: var(--color-danger, #dc3545);
      color: #fff;
    }

    .categories-bar-full {
      width: 100%;
      border-bottom: 1px solid rgba(0, 0, 0, .08);
      background: #f8f9fa;
    }

    .category-pill {
      color: var(--color-primary, #0d6efd);
      font-weight: 500;
      cursor: pointer;
      transition: all .2s;
      padding: 4px 0;
      position: relative;
    }

    .category-pill::after {
      content: "";
      display: block;
      height: 2px;
      width: 0;
      background: var(--color-primary, #0d6efd);
      transition: width .3s;
      position: absolute;
      bottom: -2px;
      left: 0;
    }

    .category-pill:hover::after,
    .category-pill:focus::after {
      width: 100%;
    }

    .category-pill:hover,
    .category-pill:focus {
      color: #0056b3;
    }

    .sort-menu .btn {
      border-radius: 12px;
      border: 1px solid #dee2e6;
      padding: 6px 12px;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
    }

    .dropdown-content .dropdown-item {
      cursor: pointer;
      padding: 6px 10px;
      border-radius: 8px;
      transition: background .2s;
    }

    .dropdown-content .dropdown-item:hover {
      background: #f1f3f5;
    }

    @media (max-width: 768px) {
      .search-input-group .form-control {
        padding-left: 2.2rem;
      }

      .mega-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 60px;
        border-radius: 0;
        max-width: none;
        padding: .8rem;
      }

      .profile-dropdown {
        right: 8px;
        left: auto;
      }

      .categories-bar {
        padding: .5rem 0 .8rem;
      }
    }

    @media (prefers-reduced-motion: no-preference) {
      .mega-menu {
        transition: transform .15s ease, opacity .15s ease;
        transform: scale(.98);
        opacity: 0;
      }

      .mega-menu[aria-hidden="false"] {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* ====== DROPDOWN COMPTE - VERSION MOBILE ====== */
    @media (max-width: 991.98px) {

      /* le collapse devient un vrai panneau */
      #mainNav.show {
        background: #ffffff;
        border-radius: 18px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
        margin-top: 0.75rem;
        padding: 0.75rem 0 1rem;
      }

      /* la dropdown n'est plus flottante : elle s'intègre sous les icônes */
      .profile-dropdown {
        position: static !important;
        /* plus de absolute */
        transform: none !important;
        inset: auto !important;
        width: 100%;
        max-width: none;
        margin-top: 0.75rem;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
        border: 1px solid #e5e7eb;
        padding: 0.5rem 0;
        background: #fff;
      }

      /* si tu avais un petit triangle avec ::before / ::after, on le masque */
      .profile-dropdown::before,
      .profile-dropdown::after {
        display: none !important;
      }

      .profile-dropdown a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.4rem 1rem;
        font-size: 0.95rem;
        text-decoration: none;
        color: #111827;
      }

      .profile-dropdown a:hover {
        background: #f3f4f6;
      }

      /* on garde nos 3 ronds bien alignés */
      .nav-main-actions {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding-top: 0.25rem;
      }

      .nav-main-actions .nav-item {
        margin: 0;
      }

      .nav-main-actions .nav-link,
      .nav-main-actions .profile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 999px;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        padding: 0;
      }

      .nav-main-actions .nav-link:hover,
      .nav-main-actions .profile-toggle:hover {
        background: #eff6ff;
        border-color: #dbeafe;
      }

      .nav-main-actions .cart-badge {
        top: 4px;
        right: 8px;
      }
    }

    /* ===== Validation visuelle Contact ===== */

.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220,53,69,.25);
}

.form-check-input.is-invalid ~ .form-check-label {
    color: #dc3545;
}

.is-invalid.shake {
    animation: shake-2025 0.18s linear 0s 2;
}

@keyframes shake-2025 {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-2px); }
    50%  { transform: translateX(2px); }
    75%  { transform: translateX(-1px); }
    100% { transform: translateX(0); }
}
