/* === cart.css === */
/* ---------------------------------------------------------------------------
cart.css

Lifted verbatim out of views/cart.ejs (an inline <style> block). The template now
links this file from the exact spot the block occupied, because that position
decides which declarations win ties against the core stylesheet.
--------------------------------------------------------------------------- */

tr {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ddd;
}

.outline[role="button"] {
  display: inline-block;
  padding: 5px 15px;
  border: 2px solid #007BFF; /* Primary blue color */
  border-radius: 20px;
  background-color: transparent;
  color: #007BFF;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 20px;
}

.outline[role="button"]:hover {
  background-color: #007BFF;
  color: #ffffff;
}

@media (min-width: 768px) {
  td {
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
  }

  td:last-child {
    border-bottom: none;
  }

  .subTotalCell {
    width: 250px; text-align: right;
  }
}

@media (max-width: 768px) {
  table,
  tbody,
  tr {
    display: block;
    width: 100%;
  }

  tr {
    margin-bottom: 10px;
  }

  td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    text-align: left;
  }

  #orderButton {
    width: 100%;
  }

}
