.product-tiles-container {
  background-color: #ddd;
  width: 100%;
  height: 220px;
  white-space: nowrap;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 15px;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
  position: relative;
  overflow: visible;
  padding-left: 80px;
}

.product-tile {
  height: 180px;
  display: inline-block;
  margin-right: 10px;
  border-radius: 8px;
  scroll-snap-align: start;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s ease,
    filter 0.5s ease,
    opacity 0.5s ease;
  transform: scale(1);
  filter: blur(0px);
  opacity: 1;
  z-index: 1;
  position: relative; /* <-- Also helpful */
}

/* Hover effect */
.product-tile:hover {
  transform: scale(2.0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

/* Dim others */
.product-tiles-container:hover .product-tile {
  filter: blur(2px);
  opacity: 0.6;
}

/* Keep hovered tile sharp */
.product-tiles-container .product-tile:hover {
  filter: blur(0px);
  opacity: 1;
}

@media (pointer: coarse) {
  /* 1) Disable desktop hover styles */
  .product-tile:hover {
    transform: none !important;
    box-shadow: none !important;
    z-index: initial !important;
  }
  .product-tiles-container:hover .product-tile,
  .product-tiles-container .product-tile:hover {
    filter: none !important;
    opacity: 1 !important;
  }

  /* 2) Expanded tile */
  .product-tile.mobile-expanded {
    transform: scale(2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    z-index: 10 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* 3) Dim _all_ other tiles when container.expanded */
  .product-tiles-container.expanded .product-tile:not(.mobile-expanded) {
    filter: blur(2px);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
  }
}


/* Product Container */
.custom-container {
  max-width: 1140px; /* Adjust if your site uses something like 960px, 1200px, etc */
  margin: 0 auto;
  padding: 0 20px; /* prevent content from touching screen edges on small screens */
  box-sizing: border-box;
}

.section_title_products {
  max-width: 1140px;  /* Match your container width */
  margin: 40px auto 0 auto;           /* Center it horizontally */
  padding: 0 20px;          /* Give it breathing room on both sides */
  box-sizing: border-box;  /* Ensure padding doesn’t overflow */
 
}

.hero_home_two {
  padding-bottom: 20px;
  min-height: 550px; /* optional, ensures full tile fits during hover */
}

.section_title_about {
 margin-top: 10px;
 padding-top: 0;
 }

