#cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 1em 0;
}
#cart .unavailable-disclaimer {
  font-style: italic;
  max-width: 30em;
  text-align: justify;
  text-align-last: center;
  padding: 0.5em 1em;
  border: solid #BA1B1D 2px;
  border-radius: 0.5em;
}
#cart .object {
  display: grid;
  grid-template-columns: 0.5fr 1fr auto;
  grid-template-rows: 1fr auto;
  grid-template-areas: "img details actions" "img details actions";
  width: 100%;
  max-width: 40em;
  background-color: #d6cfcd;
  border: solid black 1px;
  place-items: center;
  padding: 0.5em;
  gap: 0.5em;
}
#cart .object .img {
  grid-area: img;
  display: flex;
  max-height: 10em;
  height: 100%;
  /*width: Min(10em, 40%);*/
  justify-content: center;
  /*border-right: solid black 1px;*/
  align-items: center;
  min-width: 5em;
}
#cart .object .img img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
#cart .object .details {
  grid-area: details;
  display: flex;
  gap: 0 1em;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  flex-grow: 1;
}
#cart .object .details .name {
  font-weight: bold;
  margin-right: auto;
}
#cart .object .actions {
  grid-area: actions;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  /*border-left: solid black 1px;*/
  flex-direction: column;
}
#cart .object .actions .show {
  width: 3em;
  height: 3em;
  background-image: url("../images/show_icon.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(0.8);
  transition: transform 0.2s;
}
#cart .object .actions .show:hover {
  transform: scale(1);
}
#cart .object .actions .remove {
  font-size: inherit;
  width: 3em;
  height: 3em;
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
}
#cart .object .actions .remove::before, #cart .object .actions .remove::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: red;
  width: 1.5em;
  height: 0.5em;
  transition: width 0.2s;
}
#cart .object .actions .remove::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#cart .object .actions .remove::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#cart .object .actions .remove:hover::before, #cart .object .actions .remove:hover::after {
  width: 2em;
}
#cart .object.sold-out {
  filter: saturate(0.5);
  background-color: #f57753;
}
#cart .object.deleted {
  filter: saturate(0.5);
  background-color: #f55353;
}

#summary {
  display: flex;
  flex-direction: column;
  max-width: 40em;
  width: 100%;
  margin: auto;
  border-top: solid black 2px;
  padding: 1em;
}
#summary .total {
  font-size: 150%;
  font-weight: bold;
}
#summary .shipping {
  font-style: italic;
}
#summary .confirm, #summary .login {
  align-self: flex-end;
  padding: 0.75em 1.5em;
  border-radius: 2em;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background-color: #BA1B1D;
  color: white;
  cursor: pointer;
  margin-top: 1em;
}
#summary .confirm:disabled, #summary .login:disabled {
  background-color: #564e4e;
  cursor: inherit;
}
#summary .login {
  align-self: center;
}
#summary .sales_disabled {
  margin-top: 1em;
}

@media (max-width: 768px) {
  #cart .object {
    grid-template-areas: "img details details" "img actions actions";
  }
  #cart .object .actions {
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    padding: 0;
  }
}
@media (max-width: 425px) {
  #cart .object .details {
    font-size: 80%;
  }
}

/*# sourceMappingURL=cart.css.map */
