:root {
  --index_cell_width: 200px;
  --index_cell_height: 50px;

  --index_cell_width_mobile: 90px;
  --index_cell_height_mobile: 70px;

  --index_cell_width_mobile_extra: 60px;
  --index_cell_height_mobile_extra: 70px;

}

.center-text {
  text-align: center;
}

.center-widget {
  margin-left: auto;
  margin-right: auto;
}

.fw-500 {
  font-size: 24px;
  font-weight: 500;
}

.fw-700 {
  font-weight: 700;
}

.lh-22 {
  line-height: 22px;
}

.lh-32 {
  line-height: 32px;
}

.pd-bottom-8 {
  padding-bottom: 8px;
}

.pd-top-32 {
  padding-top: 32px;
}

.mg-bottom-8 {
  margin-bottom: 8px;
}

.pd-horizontal-16 {
  padding-left: 16px;
  padding-right: 16px;
}

.pd-horizontal-32 {
  padding-left: 32px;
  padding-right: 32px;
}

.pd-bottom-16 {
  padding-bottom: 16px;
}

.fs-14 {
  font-size: 14px;
}

.fs-12 {
  font-size: 12px;
}

.diamond-page-header {
  padding-bottom: 25px;
}

.table-diamond {
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;

  align-content: center;
  max-width: 1010px;

  .tab-content {
    /* overflow-x: auto; */
  }

  table {
    white-space: nowrap;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
  }

  td th {
    width: calc(100% / 4);
  }

  .pd-16 {
    padding-top: 16px;
  }

  #tabs4 {
    align-content: center;
  }

  .rectangle {
    position: relative;
    width: var(--index_cell_width);
    height: var(--index_cell_height);
  }

  @media (max-width: 758px) and (min-width: 389px) {
    .rectangle {
      width: var(--index_cell_width_mobile);
      height: var(--index_cell_height_mobile);
    }
  }

  @media (max-width: 389px) {
    .rectangle {
      width: var(--index_cell_width_mobile_extra);
      height: var(--index_cell_height_mobile_extra);
    }
  }

  .triangle.color {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 var(--index_cell_width) var(--index_cell_height) 0;
    border-color: transparent #013A40 transparent transparent;
    position: absolute;
    text-align: right;
    top: 0;
    right: 0;

    .title {
      padding-left: 130px;
      padding-top: 5px;
      color: white;
      size: 12px;
      white-space: nowrap;
    }
  }

  @media (max-width: 758px) and (min-width: 389px) {
    .triangle.color {
      border-width: 0 var(--index_cell_width_mobile) var(--index_cell_height_mobile) 0;

      .title {
        padding-left: 40px;
        white-space: nowrap;
        font-size: 10px;
      }
    }
  }
  
  @media (max-width: 389px) {
    .triangle.color {
      border-width: 0 var(--index_cell_width_mobile_extra) var(--index_cell_height_mobile_extra) 0;

      .title {
        padding-left: 15px;
        white-space: nowrap;
        font-size: 10px
      }
    }
  }

  .triangle.clarity {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 var(--index_cell_width) var(--index_cell_height) 0;
    border-color: transparent transparent #D6A35F transparent;
    position: absolute;
    text-align: left;
    bottom: 0;
    left: 0;

    .title {
      padding-left: 10px;
      padding-top: 27px;
      color: black;
      font-size: 12px;
      white-space: nowrap;
    }
  }

  @media (max-width: 758px) and (min-width: 389px) {
    .triangle.clarity {
      border-width: 0 var(--index_cell_width_mobile) var(--index_cell_height_mobile) 0;

      .title {
        padding-left: 10px;
        padding-top: 30px;
        font-size: 10px;
      }

      .mobile-break {
        display: block;
      }
    }
  }
  
  @media (max-width: 389px) {
    .triangle.clarity {
      border-width: 0 var(--index_cell_width_mobile_extra) var(--index_cell_height_mobile_extra) 0;

      .title {
        padding-left: 3px;
        padding-top: 40px;
        font-size: 10px;
      }

      .mobile-break {
        display: block;
      }
    }
  }
  
  thead {
    background: #013A40;
  }

  .tabs-content th {
    padding: 0;
    text-align: center;
    color: white;
  }

  .tabs-content .clarity-cell {
    text-align: center;
    background: #EEDCBA;
    border: 1px solid;
    border-color: #B0B0B0;
    border-width: 1px;
  }

  .tabs-content .price-cell {
    text-align: center;
    .now-price {
      font-weight: bold;
      font-size: 16px;
    }
    background: #F3F4F5;
    padding-top: 20px;
    padding-bottom: 20px;

    border: 1px solid;
    border-color: #B0B0B0;
    border-width: 1px;

    del {
      color: #8C8C8C;
      font-size: 14px;
      line-height: 16px;
    }
  }

   @media (max-width: 758px) and (min-width: 389px) { 
  .tabs-content .price-cell {
    padding-left : 0;
    padding-right : 0;
    
    .now-price {
      font-size: 12px;
    }

    del {
      font-size: 10px;
      height: 14px;
    }
   }
  }

   @media (max-width: 389px) { 
  .tabs-content .price-cell {
      padding-left : 0;
       padding-right : 0;
      .now-price {
        font-size: 12px;
      }

      del {
        font-size: 10px;
      }
    }
   }

  .tabs-content .color-cell {
    border: 1px solid;
    border-color: #B0B0B0;
    border-width: 1px;
  }


  thead .index {
    width: var(--index_cell_width);
  }

  tbody .index {
    width: var(--index_cell_width);
  }
  
  @media (max-width: 758px) and (min-width: 389px) {
    thead .index {
      width: var(--index_cell_width_mobile);
    }
  }
  
  @media (max-width: 758px) and (min-width: 389px) {
    tbody .index {
      width: var(--index_cell_width_mobile);
    }
  }
  @media (max-width: 389px) {
    thead .index {
      width: var(--index_cell_width_mobile_extra);
    }
  }
  
  @media (max-width: 389px) {
    tbody .index {
      width: var(--index_cell_width_mobile_extra);
    }
  }
  

  .tab-content {
    border-radius: 10px;
  }

  .last-row {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .bd-bottom-left {
    border-bottom-left-radius: 10px;
  }

  .bd-bottom-right {
    border-bottom-right-radius: 10px;
  }

  .bd-top-right {
    border-top-right-radius: 10px;
  }

  .bd-top-left {
    border-top-left-radius: 10px;
  }
}

.divider {
  width: 100%;
  height: 1px;
  background-color: #D1D1D1;
  margin-top: 16px;
  margin-bottom: 32px;
}

@media (max-width: 758px) {
  .overflow-text span {
    display: block;
  }
}

#tabs4 {
  display: none;
}

#tabs4-desktop {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  gap: 10px; 
  margin-bottom: 17px;

  span {
    flex: 1; 
    max-width: 200px;
    text-align: center;
    background: white;

    .tab-title {
      border-radius: 4px;
      padding-top: 4px;
      padding-bottom: 4px;
      background: rgba(231, 231, 231, 1);
    }
    
    .tab-indicator {
      margin-top: 5px;
      height: 3px;
      width: 100%;
      background-color: white;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
    }
  }

  span.tab_selected {
    background: white;
    color: white;

    .tab-title {
      border-radius: 4px;
      padding-top: 4px;
      padding-bottom: 4px;
      background: #013A40;
    }
  
    .tab-indicator {
      margin-top: 5px;
      height: 3px;
      width: 100%;
      background-color: #013A40;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
    }
  }
}

@media (max-width: 700px) {
  #tabs4 {
    display: block;
  }

  #tabs4-desktop {
    display: none;
  }
}



