
.catalog__title {
  font-size: var(--fs-48);
}

.catalog__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-700);
}

.tab {
  padding: 10px 20px;
  font-size: var(--fs-14);
  color: var(--color-primary);
  border: var(--border-primary);
  font-weight: 500;
  border-radius: var(--radius-xxl);
  cursor: pointer;
  transition: background 0.3s;
}

.tab:hover {
  background: #e0e0e0;
}

.tab.active {
  background: var(--color-primary);
  color: var(--white);
}

/* .catalog__items {
  display: grid;
  grid-gap: var(--grid-gap-lg);
  grid-template-columns: repeat(3,  1fr);
} */



.catalog__btn {
  margin-top: var(--space-300);
}

.catalog__btns {
  margin: var(--space-500) 0;
  gap: var(--grid-gap-sm);
}

.catalog__item {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.catalog__items {
  margin: var(--space-700) 0;
}

.catalog__item--bijoux {
  background-image: url(/img/gallery/collier-dentelle-en-perles.webp);
}
.catalog__item--fleurs {
  background-image: url(/img/gallery/silene-en-perles.webp);
}
.catalog__item--divers {
  background-image: url(/img/gallery/papillons-en-perles.webp);
}

.category__title {
  font-size: var(--fs-48);
  font-weight: 600;
  color: var(--gray-200);
  /* color: var(--color-bg-main); */
}

/* Product Page */

/* .product__img {
  max-height: 600px;

  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-main);
  border: 1px solid var(--gray-300);
} */

.product__photo {
  object-fit: contain;
}

.product__text {
  margin-bottom: var(--space-300);
  color: var(--color-text-main);
}

.product__features {
  margin-bottom: var(--space-600);
}

.product__subtitle {
  margin-bottom: var(--space-500);
  font-weight: 600;
  font-family: var(--font-family-main);
  color: var(--color-primary-dark);
}

.product__list {
  gap: var(--grid-gap-sm);
}

/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  max-width: 650px;
  overflow: hidden;
  border-radius: 8px;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
}

.slides img {
  width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  cursor: zoom-in;
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 22px;
  border-radius: 4px;
  transition: 0.2s;
}

.slider-btn:hover {
  background: white;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ZOOM MODAL */
.zoom-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.zoom-content {
  max-width: 90%;
  max-height: 90%;
}

.zoom-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* ZOOM ARROWS */
.zoom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
}

.zoom-prev {
  left: 30px;
}

.zoom-next {
  right: 30px;
}

.zoom-arrow:hover {
  color: #ddd;
}



/* Mobile */
@media (max-width: 600px) {
  .slider__btn {
    font-size: 24px;
  }
}


@media (max-width:1024px) {
  .product__wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .product__img {
    min-width: none;
  }
}
