#checkoutButtonContainer {
  display: inline-table;
  text-align: left;
  width: 100%;
  height: 28px;
}

.shopbox {
    border: thin solid #cfdfe9;
    padding: 20px 15px;
    margin: 0 10px 10px;
}

.shopbox.error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
  font-weight: bold;
  text-align: center;
}
.shopbox.info_message {
  background-color: #f2dd88;
  border-color: #eed3d7;
  color: #fb5a00;
  font-weight: bold;
  text-align: center;
}
.shop_address_div {
  margin: 15px;
  width: 33%;
}
.shop_heading {
  margin-top: 15px;
}
.payment_error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
  font-weight: bold;
  text-align: center;
  padding: 6px 12px;
  margin: 10px;
  border: solid thin #fecaca
}
.oplBtn {
  width: 140px;
  float: right;
  margin: 0px 0px 0px 10px;
  padding: 6px 1px;
}

.shop-modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.shop-modal-title {
  padding: 20px;
  margin: 15px;
}

.shop-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: thin solid #cfdfe9;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  width: 80%; /* Could be more or less, depending on screen size */
}

.shop-modal-body {
  margin: 15px;
}

.address-note {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 15px;
}

.address-details {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #333;
}

.purchase-num-label {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-gray-900);
  margin: 0 0 var(--space-md) 0;
  line-height: var(--line-height-tight);
  text-align: left;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .split-section {
        grid-template-columns: 1fr;
    }
}

.gray-card {
    background-color: #e9ecf0; 
    border: thin solid #cfdfe9;
    padding: 20px 15px;
    margin: 0 10px 10px;
    transition: all 0.3s ease;
}

.totals-div {
    border-bottom: solid 1px black;
    margin-bottom: 50px;
    display: flex;    
    text-align: right;
}
.buy_error {
  margin-bottom: 15px;
  text-align: right;
  min-height: 24px;
}
.error_message {
  background-color: #f2dede;
  color: #b94a48;
  font-weight: bold;
  border: solid thin #fecaca;
  padding: 8px 12px;
  display: inline-block;
}
.totals-section {
    display: flex;
    flex-direction: column;
}

.totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 250px;
    /* Adjust to match image */
    margin-bottom: 5px;
}

.grand-total {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 5px;
    color: #000;
}

.final-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Selected Address State */
.address-details.selected {
    border: thin solid #2563eb;
    border-radius: 10px;
    padding: 10px;
    background-color: #f0f7ff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.addressDetail {
    padding-bottom: 10px;
}
