/* === Product Details Wrapper === */
.unique-product-details-wrapper {
  max-width: 1200px;
}

.unique-product-title {
  font-size: 32px;
  font-weight: 700;
}

.unique-product-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* === Product Gallery === */
.unique-product-gallery {
  text-align: center;
}

.unique-zoom-container {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.unique-zoom-image {
  display: block;
  width: 100%;
  transition: transform 0.3s ease, transform-origin 0.3s ease;
}

/* === Thumbnails === */
.unique-thumbnails {
  justify-content: center;
}

.unique-thumb-img {
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.unique-thumb-img:hover {
  border-color: #007bff;
}

/* === Responsive adjustments === */
@media (max-width: 767.98px) {
  .unique-product-title {
    text-align: center;
    margin-bottom: 20px;
  }

  .unique-product-gallery {
    margin-top: 20px;
  }
}

/* === Services Grid === */
.custom-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* === Services Heading === */
.custom-services-heading h1 {
  font-size: 32px;
  font-weight: 600;
}

/* === Service Card === */
.custom-service-card {
  border: 1px solid #ddd;
  overflow: hidden;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background-color: #fff;
  max-width: 100%;
}

.custom-service-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* === Service Inner === */
.custom-service-inner {
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* === Mega Dropdown Container === */
.custom-mega-dropdown {
  position: static;
}

.custom-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px; /* adjust for your design */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  padding: 30px;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.custom-mega-dropdown:hover .custom-mega-menu {
  opacity: 1;
  visibility: visible;
}

/* === Mega Menu Columns === */
.custom-mega-column {
  flex: 1;
  min-width: 150px;
}

.custom-mega-title {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
  text-decoration: none;
}

.custom-mega-title:hover {
  text-decoration: underline;
}

.custom-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-mega-list li {
  margin: 0 0 5px;
}

.custom-mega-list li a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-mega-list li a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* === Responsive Stacking === */
@media (max-width: 992px) {
  .custom-mega-menu {
    flex-direction: column;
    max-width: 90%;
    padding: 20px;
  }
}

/* === Service Image === */
.custom-service-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.custom-service-card:hover .custom-service-image {
  transform: scale(1.05);
}

/* === Service Title === */
.custom-service-title {
  display: block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 15px 20px;
  transition: background-color 0.3s ease;
}

.custom-service-title:hover {
  background-color: #333;
}

/* ✅ Unique container must hide overflow */
.unique-zoom-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid #eee;
}

/* === Grid Container === */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 20px; /* space between cards */
  justify-items: center; /* center cards horizontally */
}

.custom-heading {
  grid-column: 1 / -1; /* make heading span all columns */
  text-align: center;
  margin-bottom: 20px;
}

/* === Product Card === */
.custom-card {
  border: 1px solid #000;
  overflow: hidden;
  width: 100%; /* full width inside the grid cell */
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.custom-card-inner {
  display: flex;
  flex-direction: column;
}

.custom-card-image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.custom-card:hover .custom-card-image {
  transform: scale(1.05);
}

/* === Product Title === */
.custom-card-title {
  margin: 0;
  background-color: #000;
  color: #fff;
  padding: 10px 12px;
  text-align: center;
  font-size: 16px;
}

/* === Responsive: 2 per row on tablets === */
@media (max-width: 768px) {
  .custom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === Responsive: 1 per row on mobile === */
@media (max-width: 480px) {
  .custom-grid {
    grid-template-columns: 1fr;
  }
}

/* ✅ Image must transition smoothly */
.unique-zoom-image {
  display: block;
  width: 100%;
  transition: transform 0.2s ease, transform-origin 0.2s ease;
}

/* === UNIQUE PRODUCT DETAILS SECTION === */
.unique-product-detail-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.unique-product-detail-info {
  padding-right: 40px;
}

.unique-product-detail-info h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.unique-product-detail-info p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.unique-product-detail-buttons {
  margin-top: 20px;
}

.unique-btn-quote,
.unique-btn-whatsapp {
  margin-right: 15px;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 4px;
}

.unique-main-image-wrapper {
  border: 1px solid #ddd;
  overflow: hidden;
}

.unique-main-image-wrapper img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.unique-main-image-wrapper img:hover {
  transform: scale(1.1);
}

.unique-thumbnail-list {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.unique-thumbnail-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: border 0.3s;
}

.custom-about-image-two {
  object-fit: cover;
}

.unique-thumbnail-image:hover {
  border: 2px solid #007bff;
}

@media (max-width: 768px) {
  .unique-product-detail-wrapper {
    flex-direction: column;
  }

  .unique-product-detail-info {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

.unique-product-features {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.unique-product-features li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* Wrap image to control overflow */
.recommended-image-wrapper {
  overflow: hidden;
}

/* Smooth scaling for image */
.recommmended-card img {
  transition: transform 0.3s ease;
}

/* Smooth background/text color for name */
.recommmended-card-body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.recommmended-card:hover img {
  transform: scale(1.1);
}

.recommmended-card:hover .recommended-card-body {
  background-color: #007bff; /* Bootstrap primary blue or choose your brand color */
  color: #fff;
}

.recommmended-card:hover .recommmended-card-body .card-title {
  color: #fff; /* Ensure text is visible */
}

/* Open dropdown on hover */
@media (min-width: 992px) {
  .navbar .custom-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Dropdown animation and look */
.dropdown-menu.animate-dropdown {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  border-radius: 0.5rem;
  min-width: 200px;
  background-color: #ffffff;
}

/* Item hover effect */
.dropdown-item:hover {
  background-color: #f0f0f0;
  color: #007bff;
}

/* On open, animate dropdown */
.navbar .custom-dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-css-email {
  font-size: 20px;
}
