@charset "utf-8";
/* ================================
   GLOBAL TYPOGRAPHY
================================ */
html, body {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  font-size: 0.8em;
  line-height: 1.5;
  color: #222;
  margin: 0;
}
/* Make form elements inherit font */
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
/* ================================
   PAGE WIDTH CONTROL
================================ */
.wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
/* Prevent overflow issues */
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
/* ================================
   HEADINGS
================================ */
h1, h2, h3, h4 {
  font-weight: 700;
}
.checkout th {
  font-weight: 700;
  font-size: 14px;
  background-color: #f2f2f2;
}
/* ================================
   BODY TEXT
================================ */
p {
  font-size: 15px;
}
strong {
  font-weight: 700;
}
.center {
  text-align: center;
}
/* ================================
   TABLE STYLING
================================ */
.checkout {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.checkout th, .checkout td {
  padding: 8px;
  border: 1px solid #ccc;
  word-wrap: break-word;
}
.checkout td.right {
  text-align: right;
}
/* ================================
   BUTTONS
================================ */
button {
  font-weight: 400;
  letter-spacing: 0.5px;
  cursor: pointer;
}
/* ================================
   BUTTON ROW
================================ */
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .wrapper {
    padding: 10px;
  }
  .checkout th, .checkout td {
    font-size: 14px;
    padding: 6px;
  }
}
/* ================================
   BASE RESPONSIVE SETUP
================================ */
* {
  box-sizing: border-box;
}
.wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
img {
  max-width: 100%;
  height: auto;
}
.checkout {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}
.checkout th, .checkout td {
  padding: 8px;
  border: 1px solid #ccc;
}
.checkout td.right {
  text-align: right;
}
/* ================================
   MOBILE TABLE STACK
================================ */
/* Make Item column wider on desktop */
@media (min-width: 769px) {
  .checkout th:nth-child(2), .checkout td:nth-child(2) {
    width: 40%;
  }
  .checkout th:nth-child(1), .checkout td:nth-child(1) {
    width: 8%;
  }
  .checkout th:nth-child(3), .checkout td:nth-child(3), .checkout th:nth-child(4), .checkout td:nth-child(4), .checkout th:nth-child(5), .checkout td:nth-child(5) {
    width: 8%;
  }
}
@media (max-width: 768px) {
  .checkout thead {
    display: none; /* hide headers */
  }
  .checkout, .checkout tbody, .checkout tr, .checkout td {
    display: block;
    width: 100%;
  }
  .checkout tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 10px;
  }
  .checkout td {
    border: none;
    padding: 5px 0;
    text-align: left;
  }
  .checkout td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
  }
  .button-row {
    flex-direction: column;
    gap: 10px;
  }
}