/* Conteneur des cartes en ligne, responsive */
.trek-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

/* Carte */
.trek-item {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  display: inline-flex;           /* inline-flex + align-items pour baselines stables */
  align-items: center;            /* aligne verticalement icône + texte */
  gap: 10px;                      /* espace entre icône et texte */
  line-height: 1.2;               /* hauteur de ligne maîtrisée */
  font-size: 16px;
  font-weight: 500;
}

/* Icône SVG : taille fixe et sans “descender” parasite */
.trek-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* IMPORTANT : le SVG lui-même doit être block pour éviter un décalage baseline */
.trek-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Texte accolé à l’icône, aligné au centre de la ligne */
.trek-text {
  display: inline-flex;
  align-items: center;
}

/* Responsive : les cartes passent à 2 ou 1 par ligne si besoin */
@media (max-width: 900px) {
  .trek-item { flex: 1 1 calc(50% - 16px); }
}

@media (max-width: 520px) {
  .trek-item { flex: 1 1 100%; }
}
/* ===== TABLEAU PREMIUM MARMOTATREK ===== */

.trek-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #ffffff;
  border: 1px solid #dfe8df;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.trek-pricing-table thead th {
  background: #e6f0ea;
  color: #2f4a39;
  font-weight: 700;
  padding: 14px;
  border-bottom: 1px solid #d0dfd2;
  text-align: left;
}

.trek-pricing-table td {
  padding: 14px;
  vertical-align: top;
  border-bottom: 1px solid #e8eee9;
}

.trek-pricing-table td:last-child {
  border-left: 1px solid #dfe8df;
}

.trek-pricing-table ul {
  margin: 0;
  padding-left: 20px;
}

.trek-pricing-table li {
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 700px) {

  .trek-pricing-table thead {
    display: none; /* cacher les titres du tableau sur mobile */
  }

  .trek-pricing-table tbody tr {
    display: flex;
    flex-direction: column;
  }

  .trek-pricing-table td {
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #e8eee9;
  }

  .trek-pricing-table td:first-child::before {
    content: "Le prix comprend";
    font-weight: 700;
    color: #2f4a39;
    display: block;
    margin-bottom: 8px;
  }

  .trek-pricing-table td:last-child::before {
    content: "Le prix ne comprend pas";
    font-weight: 700;
    color: #2f4a39;
    display: block;
    margin: 12px 0 8px;
  }
}
/* Onglet de titre "Description" (tab) */
.woocommerce div.product .woocommerce-tabs ul.tabs li.description_tab,
.woocommerce div.product .wc-tabs-wrapper ul.tabs li.description_tab {
  display: none !important;
}

/* Panneau de contenu "Description" — toutes les variantes courantes */
.woocommerce div.product #tab-description,
.woocommerce div.product .woocommerce-Tabs-panel--description,
.woocommerce div.product .panel.entry-content#wc-tab-description,
.woocommerce div.product .woocommerce-tabs .panel#tab-description {
  display: none !important;
}
/* Conteneurs d'onglets (varie selon les thèmes) */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .wc-tabs-wrapper ul.tabs {
  border: none;
  padding-left: 0;
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

/* Onglet */
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .wc-tabs-wrapper ul.tabs li {
  background: #f4f7f5;
  border: 1px solid #d8e5dd;
  border-radius: 8px;
  padding: 10px 16px;
  margin: 0;
  list-style: none;
  transition: 0.25s ease;
}

/* Lien dans l’onglet */
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .wc-tabs-wrapper ul.tabs li a {
  color: #2f4a39;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

/* Hover */
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover,
.woocommerce div.product .wc-tabs-wrapper ul.tabs li:hover {
  background: #e6f0ea;
  border-color: #bdd4c7;
}

/* Actif */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce div.product .wc-tabs-wrapper ul.tabs li.active {
  background: #2f4a39;
  border-color: #2f4a39;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .wc-tabs-wrapper ul.tabs li.active a {
  color: #ffffff !important;
}

/* Contenu des onglets (carte premium) */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .wc-tabs-wrapper .panel {
  background: #ffffff;
  border: 1px solid #dfe8df;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Responsive colonne */
@media (max-width: 600px) {
  .woocommerce div.product .woocommerce-tabs ul.tabs,
  .woocommerce div.product .wc-tabs-wrapper ul.tabs {
    flex-direction: column;
    gap: 6px;
  }
}
/*HEADER*/
/* --- Logo --- */
.wp-block-site-logo img,
.wp-block-site-logo a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.wp-block-site-logo a:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

/* 
   NAVIGATION — liens de menu classiques*/
.wp-block-navigation-item {
  overflow: visible !important;
}

.wp-block-navigation-item__content {
  position: relative;
  text-decoration: none !important;
  border-bottom: none !important;
  padding-bottom: 4px !important;
  transition: color 0.3s ease;
}

.wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-navigation-item:hover > .wp-block-navigation-item__content::after {
  width: 100%;
}

.wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after {
  width: 100%;
  opacity: 0.6;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
  display: none !important;
}
/* --- Panier WooCommerce (mini-cart block) --- */
.wc-block-mini-cart__button,
.wp-block-woocommerce-mini-cart a,
a.cart-contents {
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wc-block-mini-cart__button:hover,
.wp-block-woocommerce-mini-cart a:hover,
a.cart-contents:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.wc-block-mini-cart__button:active {
  animation: cartBounce 0.35s ease;
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.2); }
  70%       { transform: scale(0.95); }
}
