
.tyshara-shop-navigator {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-height: none;
  overflow-y: visible;
  padding: 1rem 1rem 2rem;
  background: #f9f7f6;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  position: relative;
}

.nav-block {
  transition: max-height 0.3s ease;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed #e5ded8;
  max-height: none;
  overflow: visible;
}

.nav-block.expanded {
  background-color: #fefdfc;
  border-radius: 0.5rem;
  box-shadow: inset 0 0 0 1px #e9e2dc;
  padding: 0.6rem;
  overflow: visible;
}

.nav-block.collapsed .nav-tags,
.nav-block.collapsed .nav-capsules-list,
.nav-block.collapsed .nav-categories-list,
.nav-block.collapsed .nav-toggle {
  display: none;
}

.nav-title {
  font-family: 'Satisfy', cursive;
  font-size: 1.8rem;
  color: #73504f;
  margin-bottom: 0.2rem;
  font-weight: normal;
  cursor: pointer;
  position: relative;
}

.nav-title::after {
  content: '▼';
  position: absolute;
  right: 0;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-block.collapsed .nav-title::after {
  transform: rotate(-90deg);
}

.nav-button,
.capsule-button {
  display: inline-block;
  text-decoration: none;
  background: #f6f4f2;
  color: #4a3d3d;
  border: 1px solid #e4ded7;
  padding: 0.35rem 0.75rem;
  border-radius: 1.5rem;
  margin: 0.2rem 0.3rem 0.2rem 0;
  font-size: 0.85rem;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.nav-button:hover,
.capsule-button:hover {
  background: #c7bab0;
  color: #ffffff;
}

.nav-button.active,
.capsule-button.active {
  background: #3f3a36;
  color: #f8f6f2;
  font-weight: 600;
  box-shadow: 0 0 0 2px #e4ded7 inset;
  border-color: #3f3a36;
}

.capsule-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  color: #4e4e4e;
  line-height: 1.2;
}
.capsule-button.active .capsule-name {
  color: #fff8ed !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
  font-weight: 500;
}

.capsule-link {
  font-size: 0.75rem;
  color: #9db7b2;
}

.hidden {
  display: none;
}

.nav-toggle {
  background: none;
  border: none;
  color: #9b8d83;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.2rem;
  padding-left: 0;
  transition: color 0.2s;
}

.nav-toggle:hover {
  color: #73504f;
}

.btn-galerie-adoptees {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ty-prusse);
  border: 1px solid var(--ty-prusse);
  border-radius: 999px;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-galerie-adoptees:hover {
  background-color: var(--ty-prusse);
  color: white;
}

/* === PATCH Swiper — Fluidité & Hauteur Auto === */
.tyshara-shop-products {
  overflow: visible;
}

.tyshara-product-grid.swiper-container {
  height: auto !important;
  overflow: visible !important;
}

.tyshara-product-grid .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  padding-inline: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  height: auto !important;
  box-sizing: border-box;
}

.tyshara-product-grid .swiper-slide {
  scroll-snap-align: start;
  height: auto !important;
  flex: 0 0 auto;
  max-width: 280px;
  width: 80vw;
}

/* ✅ PATCH Responsive Desktop */
.nav-tags,
.nav-capsules-list,
.nav-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  overflow: visible;
  padding-top: 0.5rem;
}

@media (min-width: 1024px) {
  .tyshara-shop-navigator {
    width: 100%;
    max-width: 260px;
  }
}
