/* General Section Styling */
section {
  padding: 3rem 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  background: var(--background-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Feature Section */
.feature-box {
  padding: 1.5rem;
  background: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  text-align: center;
  max-height: 320px;
}

.feature-box i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-box h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.feature-box p {
  color: var(--text-color);
  font-size: 1rem;
}

/* Product Display Section */
#cialde-products h2,
#cialde-products p {
  text-align: center;
}

#cialde-products h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

#cialde-products p {
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

#cialde-products .product-display {
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start; /* Align items to the start */
}

#cialde-products .product-display:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#cialde-products .product-display img {
  width: 100%; /* Ensure the image takes the full width of its container */
  height: 400px; /* Set a fixed height to make the image square */
  object-fit: cover; /* Ensure the image covers the entire area */
  object-position: center; /* Center the image */
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and box-shadow */
  transform: scale(0.7); /* Zoom out the image */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

#cialde-products .product-display img:hover {
  transform: scale(0.8); /* Slightly zoom in on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

#cialde-products .product-display h3 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

#cialde-products .product-display .product-description {
  color: var(--text-color);
  margin-top: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

#cialde-products .product-display .product-price {
  color: #d4af37;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

#cialde-products .product-display .product-shipping {
  color: var(--secondary-color);
  font-size: 1rem;
  font-style: italic;
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.align-left {
  justify-content: flex-start; /* Align items to the left */
}

.align-right {
  justify-content: flex-end; /* Align items to the right */
}

.text-left {
  text-align: left;
}

.product-display {
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.product-display .col-md-6 {
  display: flex;
  align-items: center;
}

.product-display .text-left {
  text-align: left;
}

.product-description {
  color: var(--text-color);
  margin-top: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive Styles for Small Screens */
@media (max-width: 576px) {
  .product-display img {
    height: auto; /* Allow image height to adjust automatically */
  }

  .product-title {
    font-size: 1.25rem; /* Adjust title font size for smaller screens */
  }

  .product-description {
    font-size: 1rem; /* Adjust description font size for smaller screens */
  }

  .row {
    flex-direction: column; /* Stack items vertically on small screens */
  }

  .product-display {
    flex-direction: column; /* Stack items vertically in the product display */
    text-align: center; /* Center text on small screens */
  }

  .product-display .text-left,
  .product-display .text-right {
    text-align: center; /* Center text alignment for both left and right on small screens */
  }
}
