/*
Extra small devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap because it is "mobile first"
*/
p {
    margin-bottom: 0.5rem;
}

#filters input, #filters select {
  padding: 6px;
  font-size: 1rem;
  width: 100%;     /* Automatically full width on mobile */
}

#filters label {
  font-weight: bold;
}

h3 {
  margin-top: 5px !important;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 1.5rem !important; /* Base size */
}

#explanationText {
  font-size: 1.2rem !important;
}

div[id*='header_bggId_'] {
  vertical-align: top;
  width: 100%;
  text-align: left;
  height: auto;
  text-align: left;
  display: inline;
}

div[id*='image_bggId_'] {
  display: inline-block;
  vertical-align: top;
  width: 35%;
  text-align: center;
}

div[id*='details_bggId_'] {
  display: inline-block;
  width: 65%;
  vertical-align: top;
  font-size: 100%;
  padding-bottom: 10px;
}

#inventory {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

/* Mobile First Default: 1 cards per row */
.inventory_item {
  flex: 0 0 100%;
  background-color: LemonChiffon;
  border: 1px solid #ccc;
  box-sizing: border-box;
  min-height: 300px;
}

.inventory_item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-bottom: 15px;
}

.conditions-section {
    margin-top: 0;
    padding: 10px;
}
.conditions-section p {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.25rem;
    /*if wanting to center later*/
    /*display: block;*/
    /*text-align: center;*/
}

.inventory_item {
    background: LemonChiffon;
}

.details{
    font-size: 1.1rem;
}

.condition_list_item {
    font-size: 1.1rem;
    list-style-type: square;
    list-style-position: outside;
    padding-left: 1rem;
    margin-top: 0;
}

/* Tablets: 2 cards per row */
@media (min-width: 992px) {
  .inventory_item {
    flex: 0 0 calc(50% - 10px);
  }
}

/* Laptops & Desktops: 3 cards per row */
@media (min-width: 1200px) {
  .inventory_item {
    flex: 0 0 calc(33.333% - 14px);
  }
}
