/*
 *
 *  @copyright 2008 - https://www.clicshopping.org
 *  @Brand : ClicShoppingAI(TM) at Inpi all right Reserved
 *  @Licence GPL 2 & MIT
 *  @Info : https://www.clicshopping.org/forum/trademark/
 *
 */
/*
 * Styles CSS pour le template 'multiTemplateDefault'
 * Toutes les classes personnalisées sont préfixées pour éviter les conflits
 */

/* Variables et Z-Index */
#loginModal, #headerModalShoppingCart {
  z-index: 1060;
}
.modal-backdrop {
  z-index: 1050;
}
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Header moderne */
.multiTemplateDefault-modern-header-container {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

/* Logo */
.multiTemplateDefault-logo {
  display: flex;
  align-items: center;
  max-height: 80px;
}
.multiTemplateDefault-logo img {
  max-height: 100%;
  width: auto;
  transition: transform 0.3s ease;
}
.multiTemplateDefault-logo:hover img {
  transform: scale(1.05);
}

/* Navigation utilisateur */
.multiTemplateDefault-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .multiTemplateDefault-title a {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}
.multiTemplateDefault-title a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.multiTemplateDefault-title a:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
  transform: translateY(-1px);
}
.multiTemplateDefault-title a[data-bs-toggle="modal"] {
  background: var(--primary-color);
  color: white !important;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.multiTemplateDefault-title a[data-bs-toggle="modal"]:hover {
  background: var(--secondary-color) !important;
  color: white !important;
  box-shadow: var(--shadow-md);
}

/* Sélecteurs langue/devise */
.multiTemplateDefault-language ul,
.multiTemplateDefault-currency ul,
.multiTemplateDefault-shopping-cart ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.multiTemplateDefault-language,
.multiTemplateDefault-currency {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 1px;
  padding: 0.1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .multiTemplateDefault-language,
  .multiTemplateDefault-currency {
    font-size: 0.8rem;
  }
}
.multiTemplateDefault-language:hover,
.multiTemplateDefault-currency:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

/* Barre de recherche */
.multiTemplateDefault-search {
  position: relative;
  max-width: 400px;
}
.multiTemplateDefault-search-criteria {
  position: relative;
  display: flex;
  align-items: center;
}
.multiTemplateDefault-search-criteria input[type="search"] {
  width: 100%;
  padding: 8px 16px;
  padding-right: 40px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.9rem;
  background: white;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.multiTemplateDefault-search-criteria input[type="search"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}
#buttonKeywordsSearch {
  position: absolute;
  right: 5px;
  z-index: 10;
}
#buttonKeywordsSearch button {
  background: var(--primary-color) !important;
  color: white !important;
  border: none !important;
  border-radius: 20px !important;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
#buttonKeywordsSearch button:hover {
  background: var(--secondary-color) !important;
  transform: scale(1.05);
}
.multiTemplateDefault-advanced-search-link {
  text-align: center;
  margin-top: 8px;
}
.multiTemplateDefault-advanced-search-link a {
  color: var(--text-light);
  font-size: 0.875rem;
  text-decoration: none;
}
.multiTemplateDefault-advanced-search-link a:hover {
  color: var(--primary-color);
}

/* Panier */
.multiTemplateDefault-shopping-cart-image {
  text-align: right;
}
.multiTemplateDefault-cart-link {
  display: flex;
  justify-content: flex-end;
}
.multiTemplateDefault-shopping-cart {
  position: relative;
  padding-top: 1rem;
}
.multiTemplateDefault-shopping-cart-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-color);
  color: white !important;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
}
.multiTemplateDefault-shopping-cart-toggle:hover {
  background: #d97706 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.multiTemplateDefault-icon {
  font-size: 1.3rem;
}
.multiTemplateDefault-shopping-cart-toggle .bi-cart-fill {
  font-size: 1.3rem;
  color: white !important;
}
.multiTemplateDefault-shopping-cart .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 1rem;
  min-width: 400px;
  margin-top: 10px;
  right: 0;
  left: auto;
}

/* Panier dans la modale */
.multiTemplateDefault-cart-table {
  width: 100%;
}
.multiTemplateDefault-cart-table th,
.multiTemplateDefault-cart-table td {
  border: none;
  padding: 0.5rem;
  vertical-align: top;
}
.multiTemplateDefault-cart-table th {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
}
.multiTemplateDefault-cart-qty {
  width: 15%;
}
.multiTemplateDefault-cart-product {
  width: 55%;
}
.multiTemplateDefault-cart-total {
  width: 30%;
}
.multiTemplateDefault-divider {
  border-top: 1px solid var(--border-color);
  margin: 0.5rem 0;
}
.multiTemplateDefault-shopping-small-cart,
.multiTemplateDefault-checkout {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.multiTemplateDefault-shopping-small-cart:hover {
  background: var(--border-color);
  color: var(--text-dark);
}
.multiTemplateDefault-checkout:hover {
  background: var(--secondary-color);
  color: white;
}

/* Modal */
.multiTemplateDefault-login-text,
.multiTemplateDefault-password-text {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}
.multiTemplateDefault-password a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
}
.multiTemplateDefault-password a:hover {
  color: var(--primary-color);
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
  .multiTemplateDefault-mobile-menu-toggle {
    display: none;
  }
  .multiTemplateDefault-modern-header-container .nav-collapse {
    display: flex !important;
  }
  .multiTemplateDefault-header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .multiTemplateDefault-header-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  @media (min-width: 768px) and (max-width: 1024px) {
    .multiTemplateDefault-header-top-right {
      gap: 0.5rem;
    }
  }
  .multiTemplateDefault-cart-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .multiTemplateDefault-language, .multiTemplateDefault-currency {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
  }
  .multiTemplateDefault-search {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 auto;
  }
  @media (min-width: 768px) and (max-width: 1024px) {
    .multiTemplateDefault-search {
      max-width: 300px;
    }
  }
}
@media (max-width: 767px) {
  .multiTemplateDefault-modern-header-container {
    padding: 0.5rem 0;
  }
  .multiTemplateDefault-header-mobile-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .multiTemplateDefault-mobile-login-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem;
  }
  .multiTemplateDefault-logo {
    text-align: center;
    flex-grow: 1;
    max-height: 60px;
  }
  .multiTemplateDefault-search {
    margin: 1rem auto;
    max-width: 90%;
    order: 2;
  }
  .multiTemplateDefault-cart-link {
    text-align: center !important;
  }
  .multiTemplateDefault-language {
    display: inline-block;
    margin: 0 0.25rem;
  }
  .multiTemplateDefault-shopping-cart .dropdown-menu {
    min-width: 300px;
    right: 50%;
    transform: translateX(50%);
    left: auto;
  }
  .multiTemplateDefault-title {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    margin: 1rem 0;
    width: 100%;
  }
  .multiTemplateDefault-title a {
    width: 100%;
    justify-content: center;
  }
  .multiTemplateDefault-language {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    text-align: center;
  }
  .multiTemplateDefault-language ul {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
  }
  .multiTemplateDefault-language ul li {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 6px;
  }
}
@media (max-width: 576px) {
  .multiTemplateDefault-shopping-cart-toggle {
    padding: 10px 16px;
    font-size: 0.875rem;
  }
  .multiTemplateDefault-search-criteria input[type="search"] {
    padding: 10px 16px;
    padding-right: 45px;
  }
  #buttonKeywordsSearch button {
    width: 35px;
    height: 35px;
  }
  .multiTemplateDefault-title a {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Classes pour les animations et icônes */
.multiTemplateDefault-mobile-login-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.multiTemplateDefault-mobile-login-icon-link:hover {
  background-color: var(--bg-light);
}
.multiTemplateDefault-title.d-md-none .bi {
  font-size: 1.5rem;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dropdown-menu {
  animation: fadeIn 0.3s ease;
}
.multiTemplateDefault-interactive-element {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.multiTemplateDefault-interactive-element:hover {
  transform: translateY(-1px);
}