.stone-detail-view {
  padding: 3rem 4rem;
}

.section-left {
  width: 100%;
  overflow-x: hidden; /* Prevent the entire section from overflowing */
}

.tab-heading {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 24px;
  color: #535862;
  }

.section-right {
  width: 100%;
}

.basic-information-container {
  border: 1px solid lightgrey;
  border-radius: 2px;
}

.basic-information-detail-container {
  display: flex;
  flex-direction: row;
  padding: 1rem 1rem;
}



.basic-information-detail-info {
  margin-bottom: 2rem;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #535862;
}

.basic-information-detail-info .data {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #181D27;
}

/* .arrow-btn {
  border: 1px solid #d5d7da;
  width: 40px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0; 
} */

.arrow-btn {
  flex-shrink: 0; /* Ensure the arrow buttons don't shrink */
  z-index: 10; /* Make sure they stay on top */
  background-color: white; /* Add a background to overlap content */
  position: relative; /* Keep their position static but above scrolling */
}


/* .view-type-btn {
  border: 1px solid #d5d7da;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  cursor: pointer;
} */

.view-type-btn {
  flex: 0 0 auto; /* Prevent items from shrinking or growing */
  text-align: center;
  padding: 8px 16px;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  border-radius: 2px;

}

.view-type-btn:hover {
  background-color: #e0e0e0;
}

.view-type-btn.selected {
  background-color: #ccc;
  font-weight: bold;
}

.scroll-container {
  display: flex;
  justify-content: left;
  gap: 4px; /* Space between items */
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Smooth scrolling */
  flex-grow: 1; /* Allow the container to take up the remaining space */
  white-space: nowrap; /* Prevent items from wrapping */
  padding: 0 22px; /* Increased inset so fades/arrows fully cover edges */
  position: relative; /* Ensure the container is positioned relative */
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer 10+ */
  background: #ffffff;
  align-items: stretch;
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, and Edge */
}

/* .scroll-container::-webkit-scrollbar {
  height: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #ccc; 
  border-radius: 4px; 
  margin-bottom: -6px;
} */

.scroll-container::-webkit-scrollbar-track {
  background: transparent; /* Optional: Make the track invisible for cleaner UI */
}

.scrollbar-fade {
  position: relative;
  overflow: hidden;
}

.scrollbar-fade::after,
.scrollbar-fade::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 26px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
  background-repeat: no-repeat, no-repeat;
  background-size: 12px, cover;
  background-position: center center, center;
}

.scrollbar-fade::after {
  right: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2318263D'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.92), rgba(0,0,0,0.08));
}

.scrollbar-fade::before {
  left: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2318263D'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E"),
    linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,0.92), rgba(0,0,0,0.08));
}

.scrollbar-fade.has-right-overflow::after {
  opacity: 1;
}

.scrollbar-fade.has-left-overflow::before {
  opacity: 1;
}


.download-button {
  position: absolute;
  bottom: 80px; /* Adjust for your layout */
  right: 10px; /* Adjust for your layout */
  width: 3rem;
  height: 3rem;
  padding: 0.875rem;
  background-color: rgba(255, 255, 255, 0.7);
  color: white;
  text-decoration: none;
  border-radius: 2px;
  font-size: 14px;
  z-index: 10; /* Ensure it appears above other elements */
  transition: background-color 0.3s;
  border: 1px solid #d5d7da;
}

.download-button:hover {
  background-color: rgba(255, 255, 255, 1); 
}

.basic-color-choices .color-chip {
  border-radius: 4px;
  color: inherit;
}

.basic-color-choices .color-chip input {
  accent-color: #111827;
}

.basic-color-choices .color-chip span {
  color: inherit;
  font-weight: 600;
}

@media only screen and (max-width: 1000px) {
  .stone-detail-view {
    padding: 2.5rem 1rem;
  }

  .stone-detail-view .page-header {
    margin-bottom: 0.05rem;
    gap: 4px;
  }

  .stone-detail-view .page-heading-container {
    padding-left: 0.5rem;
    margin-bottom: 0.2rem;
  }

  .stone-detail-view .page-heading {
    line-height: 1.2;
  }
}
