.form-product {
  background: #103d53; /* Updated main background color */
  border-radius: 16px;
  padding: 20px 20px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Modified 3D effect with new color */
  box-shadow: 0 2px 4px rgba(8, 27, 38, 0.2),
    0 8px 12px rgba(8, 27, 38, 0.25), 0 16px 24px rgba(8, 27, 38, 0.2),
    0 24px 32px rgba(8, 27, 38, 0.15);
  transform: perspective(1000px) translateZ(0) translateY(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

/* Updated pulsing animation with new colors */
@keyframes pulse {
  0% {
    box-shadow: 0 2px 4px rgba(8, 27, 38, 0.2),
      0 8px 12px rgba(8, 27, 38, 0.25), 0 16px 24px rgba(8, 27, 38, 0.2),
      0 24px 32px rgba(8, 27, 38, 0.15);
  }
  50% {
    box-shadow: 0 2px 4px rgba(8, 27, 38, 0.25),
      0 8px 16px rgba(8, 27, 38, 0.3), 0 16px 32px rgba(8, 27, 38, 0.25),
      0 24px 48px rgba(8, 27, 38, 0.2);
  }
  100% {
    box-shadow: 0 2px 4px rgba(8, 27, 38, 0.2),
      0 8px 12px rgba(8, 27, 38, 0.25), 0 16px 24px rgba(8, 27, 38, 0.2),
      0 24px 32px rgba(8, 27, 38, 0.15);
  }
}

.form-product {
  animation: pulse 2s infinite;
}

.form-product:hover {
  transform: perspective(1000px) translateZ(20px) translateY(-8px);
  box-shadow: 0 4px 8px rgba(8, 27, 38, 0.3),
    0 12px 24px rgba(8, 27, 38, 0.35), 0 24px 48px rgba(8, 27, 38, 0.3),
    0 32px 64px rgba(8, 27, 38, 0.25);
  animation: none;
}

/* Updated glow effect with new colors */
.form-product::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #082636, #1a5875);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.2;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}

.form-product:hover::before {
  opacity: 0.3;
}

/* Updated button style */
.form-product__button {
  background: linear-gradient(45deg, #1a5875, #2a7999);
  transform: translateY(0);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(8, 27, 38, 0.3);
}

.form-product__button:hover {
  background: linear-gradient(45deg, #154860, #1a5875);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(8, 27, 38, 0.4);
}

.form-product__discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e52b27; /* Keeping the red discount badge */
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.form-product__title {
  color: #ffffff; /* Updated text color for better contrast */
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.form-product__old-price {
  color: #a0b1bd; /* Lightened gray for better visibility */
  text-decoration: line-through;
  font-size: 14px;
}

.form-product__price {
  color: #ffffff; /* Updated text color for better contrast */
  font-size: 26px;
  font-weight: 700;
}

.form-product__location {
  color: #ffffff; /* Updated text color for better contrast */
  font-size: 14px;
}

.form-product__stock {
  background: #1a5875; /* Darker background for stock indicator */
  color: #ffffff; /* Updated text color for better contrast */
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  display: inline-block;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-product__stock-big{
  font-size: 14px;
}

.form-product__input {
  border: 1px solid #1a5875;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}

.form-product__input:focus {
  border-color: #2a7999; 
  box-shadow: 0 0 0 4px rgba(42, 121, 153, 0.2);
  outline: none;
}

.form-product__button {
  background: #2a7999; /* Brighter button for contrast */
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  transition: background 0.2s ease;
}

.form-product__button:hover {
  background: #1f5d7a;
}

.form-product__button span {
  display: block;
  font-size: 17px;
  margin-top: 2px;
  opacity: 0.9;
}

.form-product__features {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 15px;
  padding-top: 15px;
  font-size: 13px;
  color: #ffffff; /* Updated text color for better contrast */
}

.form-product__stock-count {
  color: #ff6b67; /* Brightened red for better visibility on dark background */
  font-weight: 600;
}

.form-product__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;\
}