.item-details-container {
    display: none;
    background-color: #0D161E;
    border-radius: 1rem;
    padding: 1.85rem;
    margin-bottom: 2rem;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.7);
  }
  
  .item-details-container:target {
    display: block;
  }
  
  .image-container {
    text-align: center;
  }
  
  .item-details-img {
    width: 100%;
    height: auto;
    border-radius: 0.8rem !important;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.6);
  }
  
  .text-container {
    display: flex;
    flex-direction: column;
  }
  
  .item-details-title {
    color: gold;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .item-details-price {
    font-size: 1.6rem;
    color: #d1bfa2;
    margin-bottom: 1.5rem;
  }
  
  .item-details-description {
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .item-details-buttons .btn {
    margin-right: 1rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.6rem !important;
  }
  
  .item-details-buttons small {
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.95rem;
    color: #d1bfa2 !important;
  }
  
  @media (max-width: 768px) {
    .item-details-title {
      font-size: 1.8rem;
    }
    .item-details-description {
      font-size: 1.05rem;
    }
    .item-details-buttons {
        flex-direction: column;
      }
  }
  
  .item-details-container:target {
    display: block !important;
  }

.item-details-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem; 
    align-items: flex-start;
  }
  
  .item-details-buttons .btn-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 15%;
  }
  
  .item-details-buttons small {
    color: #d1bfa2;
    margin-top: 0.25rem;
  }