body {
    font-family: Raleway, sans-serif;
    
    
    padding: 30px;
    margin: 0;
    padding-top: 100px;
    --font-color: #323232;
    --font-color-sub: #666;
    --bg-color: #fff;
    --main-color: #323232;
    --main-focus: #2d8cf0;
    background: var(--bg-color);
  }
  .platinum-icon {
    height: 0.25em;
    vertical-align: middle;
  }
  button{
    font-family: Raleway, sans-serif;
  }
  .navbar {
    font-family: Raleway, sans-serif;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    z-index: 1000;
    color: var(--font-color);
  }
  #search-container {
    position: relative;
    width: 400px;
  }
  #search {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: Raleway, sans-serif;
  }
  #suggestions {
    position: absolute;
    background: var(--bg-color);
    border: 1px solid #444;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 10;
  }
  .suggestion {
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
  }
  .suggestion img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  .suggestion.active {
    background: var(--main-focus);
  }
  .tab {
    display: inline-block;
    padding: 8px 16px;
    background: #333;
    margin-right: 5px;
    cursor: pointer;
  }
  .tab.active {
    background: #555;
  }
.order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--main-color);
  background: var(--bg-color);
  transition: background 0.3s ease;
}

.order .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order .right {
  display: flex;
  align-items: center;
  gap: 15px; /* spacing between Qty and platinum */
}

.order .quantity {
  font-size: 0.9em;
  color: #555;
}

.order .price {
  font-weight: bold;
  font-size: 1.1em;
}

.order:hover {
  background: #87bdff;
  border-radius: 10px;
  cursor: pointer;
}

.order:hover {
    background: #87bdff;
    cursor: pointer;
}
  
  .order img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .order span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .order .status-ingame {
    color: #066e29;
    font-style: bold;
  }
  
  .order .status-offline {
    color: #ff7f7f;
  }
  
  .order .rank {
    text-align: right;
    font-weight: bold;
    font-size: 0.9em;
  }
  
  .order .price {
    text-align: right;
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 8px;
  }
  
  .order button {
    justify-self: end;
    padding: 5px 10px;
    border: none;
    border-radius: 6px;
    background-color: #444;
    color: #eee;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .order button:hover {
    background-color: #666;
  }
  
  
  .status-ingame {
    color: #066e29;
    font-weight: bold;
  }
  .status-offline {
    color: #ff7f7f;
    font-weight: bold;
  }
  .logo-placeholder img {
    height: 40px;
    width: auto;
    object-fit: contain;
    padding-right: 30px;
    cursor: pointer;
  }
  #floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 2px solid #323232;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
  }
  
  #floating-cart svg {
    width: 32px;
    height: 32px;
    fill: #323232;
  }
  #cart-count {
    font-family: Raleway, sans-serif;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    text-align: center;
  }
  .description{
    font-style: italic;
  }
/* Flash green animation */
.flash-green {
  background-color: #6eff9c !important; /* soft green flash */
  transition: background-color 0.4s ease;
  position: relative;
}

/* Checkmark styling */
.checkmark {
  position: absolute;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  color: black;
  opacity: 0;
  transform: scale(0.6);
  animation: appear-check 0.4s forwards, fade-check 0.8s 0.6s forwards;
}

@keyframes appear-check {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fade-check {
  to {
    opacity: 0;
    transform: scale(0.6);
  }
}
#clearcart {
  background: #bf2c20;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease; /* Add transition for smooth fade */
}

#clearcart:hover {
  background: #b41200;
}
#navhome:hover{
  cursor: pointer;
}
#cart-warning{
  display: none;
  padding-top: 10px;
}
button {
  background: #337ab7;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  margin-left: 10px;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease; /* Add transition for smooth fade */
}

button:hover {
  background: #286090;
}