/* BODY */
body {
  background: linear-gradient(
    to bottom,
    #2c2d30 0%,
    #5a4e2a 30%,
    #c9a84c 65%,
    #f5d77a 100%
  );
  min-height: 100vh;
  font-family: 'JosefinSans', sans-serif;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 99%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(245, 215, 122, 0.75);
  border-radius: 50px;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 40px;
  background: rgba(245, 215, 122, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: 'JosefinSans', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #2c2d30;
  letter-spacing: 3px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-family: 'JosefinSans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #6b5a00;
}

/* PATTERN */
.pattern3-top {
  width: 100%;
  height: 60px;
  background-image: url("images/pattern2.png");
  background-size: 100% 200%;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.5;
  margin-top: 80px;
}

/* TITRE */
.shop-title {
  text-align: center;
  padding: 20px 0 40px;
}

.shop-title h1 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #fddb7c;
}

/* FILTRES ET RECHERCHE */
.shop3-filters {
  display: flex;
  justify-content: center;      /* ← centré */
  align-items: center;
  padding: 0 80px 40px;
  gap: 20px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(44, 45, 48, 0.8);
  border: 1px solid #fddb7c;
  border-radius: 50px;
  padding: 8px 18px;
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  font-family: 'JosefinSans', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: #ffffff;
  width: 150px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* DROPDOWN FILTER */
.filter-dropdown {
  position: relative;
}

.btn-filter-main {
  font-family: 'JosefinSans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 10px 25px;
  border: 1px solid #fddb7c;
  border-radius: 50px;
  background: transparent;
  color: #fddb7c;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: 0.3s ease;
}

.btn-filter-main:hover {
  background: #fddb7c;
  color: #2c2d30;
}

.filter-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 50px;
  background: #2c2d30;
  border: 1px solid #fddb7c;
  border-radius: 16px;
  overflow: hidden;
  z-index: 100;
  min-width: 160px;
}

.filter-menu.open {
  display: block;
}

.filter-option {
  font-family: 'JosefinSans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 14px 20px;
  color: #fddb7c;
  cursor: pointer;
  user-select: none;
  transition: 0.3s ease;
}

.filter-option:hover {
  background: #fddb7c;
  color: #2c2d30;
}

/* GRILLE */
.shop3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 80px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop3-card {
  background: rgba(44, 45, 48, 0.80);
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.shop3-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.shop3-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  padding: 10px;
}

.shop3-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.shop3-name {
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
}

.shop3-price {
  font-family: 'JosefinSans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fddb7c;
  letter-spacing: 1px;
}

.btn3-details {
  display: block;
  margin: 10px 20px 0;
  width: calc(100% - 40px);
  padding: 12px 0;
  border: 1px solid #fddb7c;
  border-radius: 50px;
  background: transparent;
  color: #fddb7c;
  font-family: 'JosefinSans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn3-details:hover {
  background: #fddb7c;
  color: #2c2d30;
}
@media (max-width: 768px) {
  .shop3-filters {
    flex-direction: column;
    padding: 0 20px 30px;
    gap: 15px;
  }

  .search-bar input {
    width: 200px;
  }

  .shop3-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px 60px;
  }

  .shop3-card img {
    height: 160px;
  }

  .shop3-name {
    font-size: 13px;
  }

  .shop3-price {
    font-size: 13px;
  }

  .btn3-details {
    font-size: 11px;
    letter-spacing: 1px;
    padding: 10px 0;
  }
}