/* Masquer tous les prix dans la boutique */
.product-price-and-shipping,
.product-price,
.price,
.current-price,
.regular-price,
.product-prices,
.discount {
  display: none !important;
}

/* Masquer l'état du produit (Neuf) */
div.product-condition {
  display: none !important;
}

/* Masquer la référence */
.product-reference {
  display: none !important;
}

/* Masquer le bloc newsletter */
.block_newsletter,
#blockEmailSubscription_displayFooterBefore,
.block-newsletter {
  display: none !important;
}

/* Correction UNIQUEMENT de l'icône du chariot sur le bouton ajouter au panier */
.product-add-to-cart .add-to-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.product-add-to-cart .add-to-cart .material-icons {
  margin-right: 0.5rem !important;
  line-height: 1 !important;
}

/* Alignement des boutons +/- et poubelle dans la page panier */
.product-line-grid-right.product-line-actions > .row {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

.product-line-grid-right .col-md-10 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-right: 0 !important;
}

.product-line-grid-right .col-md-10 > .row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  margin: 0 !important;
}

.product-line-grid-right .col-md-6.qty {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.product-line-grid-right .col-md-6.price {
  display: flex !important;
  align-items: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.product-line-grid-right .col-md-2 {
  display: flex !important;
  align-items: center !important;
  padding-left: 0 !important;
  margin-left: 0.25rem !important;
}

.product-line-grid-right .qty input,
.product-line-grid-right .qty .input-group,
.product-line-grid-right .qty .bootstrap-touchspin {
  margin: 0 !important;
}

/* Alignement spécifique des boutons TouchSpin +/- */
.product-line-grid-right .bootstrap-touchspin {
  display: flex !important;
  align-items: center !important;
}

.product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.product-line-grid-right .cart-line-product-actions {
  display: flex !important;
  align-items: center !important;
  height: 100%;
}

/* Déplacer le bloc custom-text en haut de la page d'accueil */
.page-index #custom-text {
  order: -1 !important;
}

.page-index #content {
  display: flex !important;
  flex-direction: column !important;
}
/**
 * CSS pour masquer TOUS les prix dans PrestaShop
 * Les Truites de l'Isle-sur-la-Sorgue
 */

/* Masquer tous les prix sur les fiches produits */
.product-prices,
.product-price,
.current-price,
.regular-price,
.product-discount,
.discount,
.discount-amount,
.discount-percentage,
.has-discount,
span[itemprop="price"],
.price,
.product-price-and-shipping,
.product-miniature .product-price-and-shipping {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer prix dans les listes de produits */
.products .product-price,
.products .price,
.product-miniature .price,
.thumbnail-container .price {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer prix panier */
.cart-grid .product-line-info.product-price,
.cart-grid .product-price,
.cart-overview .product-price,
.cart-detailed-totals,
.cart-summary-line,
.cart-total,
#order-summary-content .price,
.order-confirmation-table .price,
.product-line-grid-right .price {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer total panier */
.cart-summary-totals,
.cart-detailed-totals .value,
#cart-subtotal-products,
#cart-subtotal-shipping,
.cart-summary-line .value {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer prix unitaires */
.unit-price-cart,
.product-unit-price {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer prix dans modal panier */
.cart-content .product-price,
.blockcart-modal .product-price,
.modal-body .product-price,
.modal-body .subtotal,
.modal-body .shipping,
.modal-body .product-total,
.modal-body .product-tax,
.modal-body .label,
.modal-body .value {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer prix dans le récapitulatif de commande */
.order-confirmation .order-line .qty,
.order-confirmation .order-line .unit-price,
.order-confirmation .order-line .total-price {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer symbole € et montants */
span:contains("€"),
.currency,
.amount {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer la colonne prix dans les tableaux */
th.product-price,
td.product-price,
.cart-grid-body .product-price {
  display: none !important;
  visibility: hidden !important;
}

/* Page produit - prix principal */
.product-prices .product-price,
.product-information .product-price,
.current-price-value,
.product-price-and-shipping .price {
  display: none !important;
  visibility: hidden !important;
}

/* Réductions et promotions */
.discount-product,
.product-discount-percentage,
.product-flag.discount,
.regular-price,
.discount-percentage,
.discount-amount {
  display: none !important;
  visibility: hidden !important;
}

/* Recherche et filtres */
.facet-price,
.faceted-search .price-range,
#search_filters .price {
  display: none !important;
  visibility: hidden !important;
}

/* Footer et informations légales de prix */
.price-notice,
.tax-shipping-delivery-label {
  display: none !important;
  visibility: hidden !important;
}

/* Masquer dans les emails et factures (si affichés) */
.order-items .price,
.invoice .price,
.order-total {
  display: none !important;
  visibility: hidden !important;
}
  /* Masquer les prix dans le panier */
  .product-line-info.product-price,
  .product-line-grid-right .price,
  .col-md-6.price {
    display: none !important;
  }

  /* Ajuster la mise en page sans la colonne prix */
  .product-line-grid-right {
    display: flex !important;
    justify-content: flex-end !important;
  }
/* Header Fix V2 - Meilleure organisation */

/* Header principal */
#header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  background-color: #2b3577 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.header {
  display: block !important;
  visibility: visible !important;
  background-color: #2b3577 !important;
  padding: 1rem 0 !important;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px !important;
}

.header__content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
}

/* Logo */
.header__logo {
  flex-shrink: 0 !important;
  display: block !important;
  order: 1 !important;
}

.header__logo-img {
  height: 50px !important;
  width: auto !important;
  display: block !important;
}

/* Navigation principale */
.nav {
  display: flex !important;
  flex-grow: 0 !important;
  order: 2 !important;
}

.nav__list {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 1rem !important;
  flex-wrap: nowrap !important;
}

.nav__item {
  display: block !important;
  white-space: nowrap !important;
}

.nav__link {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 4px !important;
  transition: background-color 0.3s !important;
  display: block !important;
  font-size: 14px !important;
}

.nav__link:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

.nav__link--active {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Outils PrestaShop (recherche, panier, compte) */
.header__tools {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  order: 3 !important;
  margin-left: auto !important;
}

/* Masquer les menus PrestaShop qui se superposent */
#_desktop_top_menu {
  display: none !important;
}

.top-menu {
  display: none !important;
}

#top-menu {
  display: none !important;
}

/* Garder seulement recherche, panier et compte */
#search_widget {
  display: block !important;
}

#_desktop_cart {
  display: block !important;
}

#_desktop_user_info {
  display: block !important;
}

.blockcart {
  display: block !important;
}

/* Hamburger */
.hamburger {
  display: none !important;
  order: 4 !important;
}

/* Mobile topbar PrestaShop */
.prestashop-topbar {
  background: #2b3577 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .header__content {
    flex-wrap: nowrap !important;
  }

  .nav {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 5px !important;
  }

  .hamburger__line {
    width: 25px !important;
    height: 3px !important;
    background-color: white !important;
    display: block !important;
  }

  .header__tools {
    gap: 0.5rem !important;
  }
}

@media (max-width: 767px) {
  .header__logo-img {
    height: 40px !important;
  }

  .nav__link {
    font-size: 13px !important;
    padding: 0.4rem 0.8rem !important;
  }
}

/* Fix pour éviter les conflits avec le contenu */
#wrapper {
  position: relative !important;
  z-index: 1 !important;
}

.header {
  position: relative !important;
  z-index: 100 !important;
}
/* Footer Fix - Masquer le footer PrestaShop, garder seulement le footer V2 */

/* Masquer le footer PrestaShop par défaut */
#footer .footer-container {
  display: none !important;
}

.footer-container {
  display: none !important;
}

#footer .links {
  display: none !important;
}

#footer .block-contact {
  display: none !important;
}

/* Garder et styler le footer V2 */
.v2-footer {
  display: block !important;
  visibility: visible !important;
  background-color: #2b3577 !important;
  color: white !important;
  padding: 3rem 0 1rem !important;
  margin-top: 3rem !important;
}

.footer.v2-footer {
  display: block !important;
}

.footer__content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 2rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
}

.footer__col {
  display: block !important;
}

.footer__logo {
  max-width: 150px !important;
  height: auto !important;
  margin-bottom: 1rem !important;
}

.footer__title {
  color: white !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

.footer__text {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 0.5rem !important;
}

.footer__text--small {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer__list li {
  margin-bottom: 0.5rem !important;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: color 0.3s !important;
}

.footer__list a:hover {
  color: white !important;
  text-decoration: underline !important;
}

.footer__social {
  display: flex !important;
  gap: 1rem !important;
}

.footer__social a {
  color: white !important;
  transition: opacity 0.3s !important;
}

.footer__social a:hover {
  opacity: 0.7 !important;
}

.footer__bottom {
  text-align: center !important;
  margin-top: 2rem !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
}

/* S'assurer que le footer est en bas */
#footer {
  background-color: transparent !important;
  padding: 0 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .footer__content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .footer__content {
    grid-template-columns: 1fr !important;
  }

  .footer__col {
    text-align: center !important;
  }

  .footer__logo {
    margin: 0 auto 1rem !important;
  }

  .footer__social {
    justify-content: center !important;
  }
}
