body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #bc97e050;
  overflow-x: hidden;
}

.product-card {
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-images {
  text-align: center;
}

/* Главна слика со ефект */
.main-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.main-image img:hover {
  transform: scale(1.04);
}

/* Thumbnail слики */
.thumbnail-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.thumb img {
  width: 85px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.thumb img:hover {
  transform: scale(1.1);
}

/* Десна страна - текст */

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* LIGHTBOX FULLSCREEN */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  animation: zoomFade 0.4s;
}

@keyframes zoomFade {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ДЕСНА СТРАНА — ПРОФЕСИОНАЛЕН JEWELRY ДИЗАЈН */
.product-info {
  padding-left: 35px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeSlide 0.6s ease forwards;
  opacity: 0;
}

/* Наслов */
.product-info h2 {
  font-size: 30px;
  font-weight: 700;
  color: #4a3172;
  margin-bottom: 15px;
}

/* Опис */
.product-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Опис subtitle (Материјал, боја...) */
.product-info strong {
  color: #4a3172;
  font-weight: 600;
}

/* Цена */
.price-new {
  font-size: 32px;
  font-weight: 800;
  color: #d9264d !important;
}

.price-old {
  font-size: 18px;
  text-decoration: line-through;
  color: #777;
}

/* Копчиња */
.product-info .btn {
  padding: 10px 18px !important;
  font-size: 15px !important;
  white-space: nowrap;
}

.add-wishlist {
  border: 2px solid #ffbb00 !important;
}

.buy-cash {
  border: 2px solid #28a745 !important;
}

.btn:hover {
  transform: scale(1.05);
  transition: 0.2s;
}

/* Мал екран — ОПРАВИ ГО BUTTON WRAP ПРОБЛЕМОТ */
@media (max-width: 576px) {
  .product-info {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 30px;
    text-align: left !important; /* ← ДЕСНА СТРАНА ЛЕВО */
  }

  .product-info h2 {
    font-size: 25px;
    text-align: left !important;
  }

  .product-info p,
  .product-info strong {
    text-align: left !important;
  }

  /* Копчињата да не се шират */
  .product-info .btn {
    padding: 8px 14px !important;
    font-size: 14px !important;
    width: auto !important;
  }

  .product-info .d-flex {
    justify-content: flex-start !important; /* ← ЛЕВО */
    flex-wrap: nowrap !important;
    gap: 8px;
  }
}
/* ЕКСТРА МАЛ ЕКРАН — КОПЧИЊАТА ПОДРЕДЕНИ ВО КОЛОНА */
@media (max-width: 380px) {
  .product-info .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .product-info .btn {
    width: 100% !important; /* копчињата цела ширина */
    text-align: center !important;
  }
}
