/** Shopify CDN: Minification failed

Line 50:8 Expected identifier but found whitespace
Line 50:10 Unexpected "{"
Line 50:19 Expected ":"
Line 55:8 Expected identifier but found whitespace
Line 55:10 Unexpected "{"
Line 55:19 Expected ":"
Line 77:17 Expected identifier but found whitespace
Line 77:19 Unexpected "{"
Line 77:28 Expected ":"
Line 98:13 Expected identifier but found whitespace
... and 6 more hidden warnings

**/
.diamond-cut-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: .3rem;
  max-width: 1400px;
  margin: 0 auto;
  background: rgb(250, 249, 249);
}

.cut-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cut-title h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
  color: inherit;
  font-family: 'Philosopher';
}

.text-content p {
    color: #000;
    line-height: normal;
    font-family: Istok Web, sans-serif !important;
    font-size: 15px !important;
}

.content-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: {{ section.settings.content_title_color }};
}

.pro-tip-title {
  font-size: 1.3rem;
  color: {{ section.settings.pro_tip_title_color }};
}

.text-content {
  margin-bottom: 2rem;
}

.pro-tip {
  margin-top: 1rem;
  font-style: italic;
}

/* MAIN BUTTON GROUP STYLING */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  width: 100%;
  overflow-x: auto; /* Scroll if too many buttons on desktop */
  /* Custom properties for dynamic gradient: */
  --gradient-end: 20%;
  --active-color: {{ section.settings.button_active_bg_color }};
}

/* The thin/gradual line under the buttons */
.button-group::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--active-color) var(--gradient-end), #ddd var(--gradient-end), #ddd 100%);
  transition: background 0.3s ease;
}

.cut-button:last-child {
  border-right: none;
}

/* Hover states (desktop) */
.cut-button:hover {
  background: {{ section.settings.button_active_bg_color }} !important;
  color: {{ section.settings.button_active_text_color }};
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 400px;
  min-height: 400px;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease;
}

/* Desktop group (hidden on mobile) */
.desktop-button-group {
  display: flex;
  width: 100%;
}

/* Mobile group (hidden on desktop) */
.mobile-button-group {
  display: none;
}

/* Responsive styling for screens <= 480px */
@media (max-width: 480px) {
  .diamond-cut-section {
    grid-template-columns: 1fr;
  }

  .image-container {
    height: 180px;
    min-height: 150px;
  }

  .desktop-button-group {
    display: none;
  }

  .mobile-button-group {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    /* gap: 1rem;
    margin-bottom: 1rem; */
  }

  .cut-title h2 {
    font-size: 22px;
  }

  .cut-button {
    font-size: 0.9rem;
    padding: 0.5rem 0.3rem !important;
    width: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .cut-button:last-child {
    border-bottom: none;
  }

  /* Remove the gradient line on mobile */
  .button-group::before {
    display: none;
  }

  .image-container img {
    width: 70%;
  }
}
