.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.item-list li {
  border: 1px solid #9e9e9e;
  border-radius: 7px;
  padding: 0px;
  padding-top: 10px;
  width: 125px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.1s;
}

.item-list li:hover {
  transform: scale(1.02);
  border-color: #2e2e2e;
}

.item-list img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0px;
}

.search-bar {
    margin-bottom: 20px;
    text-align: left;
}
.search-bar input {
    width: 300px;
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}






.item-detail-container {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* space between image and description */
    margin-top: 20px;
}

.item-image-box {
    border: 2px solid #9e9e9e; /* gray border */
    padding: 10px;
    border-radius: 0px;
    background-color: #f9f9f9;
    max-width: 300px; /* max image box size */
    text-align: center;
}

.item-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.item-description {
    flex: 1; /* take up remaining space */
    font-size: 1.1em;
    line-height: 1.5em;
}


.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.item-header h1 {
    margin: 0;
    font-size: 1.8em;
}

.wiki-button {
    padding: 8px 16px;
    background-color: var(--button_primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    margin-right: 80px;
}

.wiki-button:hover {
    background-color: var(--button_hover-color);;
}

.item-evaluations {
  margin-top: 30px;
  width: 100%;
}

.item-evaluations h2 {
  margin-bottom: 10px;
}

.item-detail-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.item-description {
  flex: 1;
  min-width: 250px;
}

/* Thicker divider between Total Diamond Value and denominations */
.evaluation-table th:nth-child(2),
.evaluation-table td:nth-child(2) {
  border-right: 3px solid; /* adjust thickness/color as needed */
}

.price-breakdown {
  margin-top: 30px;
  width: 100%;
}

.price-breakdown h2 {
  margin-bottom: 10px;
}

.price-breakdown-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.table-half-width {
    width: 50%;
    margin-bottom: 30px;
    margin-left: 100px;
    float: left;
}

.table-half-width table {
    width: 100%;
}

.table-half-width .total-line {
    text-align: right;
    margin-right: 20px;
}