/* ------------------------------------------------------ */
/* ---------------- MERCHANDISING TARGETES -------------- */
/* ------------------------------------------------------ */

#merchandising-intro {
  background-color: #f8f9fa;
}

.producte {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: #fff;
  border: 0.5px solid #dc3545;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.producte:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.15),
    0 0 12px rgba(220, 53, 69, 0.25);
}

.producte .img-wrapper {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: visible;
}

.producte img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producte:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.producte h6 {
  color: #dc3545;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.25rem;
}

.producte hr {
  width: 50%;
  border: 0;
  border-top: 1px solid #dc3545;
  margin: 0.25rem 0;
}

.producte .preu {
  font-weight: bold;
  color: #212529;
  text-align: center;
}

/* ------------------------------------------------------ */
/* ---------------------- MODAL -------------------------- */
/* ------------------------------------------------------ */

.modal-content {
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #dc3545;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  animation: fadeInScale 0.35s ease;
}

.modal-header {
  background-color: #dc3545;
  border-bottom: none;
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 1rem 1.25rem;
}

.modal-title {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.25rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.modal-img {
  max-width: 90%;
  max-height: 60vh;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

#productModalPreu {
  font-size: 1.4rem;
  font-weight: bold;
  color: #dc3545;
  margin-top: 0.5rem;
}

/* Separador corporatiu del modal */
.modal-sep {
  width: 60%;
  border: 0;
  border-top: 1px solid #dc3545;
  opacity: 0.4;
  margin: 0.5rem 0 1rem 0;
}

/* Descripció elegant */
.modal-desc {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
  position: relative;
  padding-left: 1.2rem;
}

/* Icona corporativa al costat de la descripció */
.modal-desc::before {
  content: "🔸";
  color: #dc3545;
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.1rem;
}

/* Preu amb highlight corporatiu */
.modal-preu {
  background-color: rgba(220, 53, 69, 0.12);
  color: #dc3545;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ------------------------------------------------------ */
/* ---------------- CTA CORPORATIU ----------------------- */
/* ------------------------------------------------------ */

.btn-cta {
  background-color: #dc3545;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-size: 1.1rem;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 6px 15px rgba(0,0,0,0.15),
    0 0 10px rgba(220, 53, 69, 0.35); /* glow corporatiu */
  color: #fff;
}

/* Animació modal */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

