.contact-info {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
}
.contact-info p {
    margin: 0;
}
.subtotal {
    border: 1px solid #ddd;
    padding: 15px;
}
.address-selection {
    display: flex;
    align-items: center;
}

.address-selection p {
    margin: 0;
    margin-right: 10px; /* Space between the text and the address selection */
}

.address-selection select {
    flex: 1;
}

.table th, .table td {
    vertical-align: middle;
}
.shipping-options {
    margin: 10px 0;
}
.shipping-options label {
    margin-bottom: 0;
}
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-shopping{
    display: flex;
}

.cart-section {
    flex: 0 0 70%;
}
.summary-section {
    flex: 0 0 25%;
}
.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    background: #f8f8f8;
    padding: 0;
    margin: 0; /* Remove any margin */
}

.quantity-control input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    height: 30px;
    margin: 0; /* Remove any margin */
    -moz-appearance: textfield; /* Firefox */
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-control button:first-of-type {
    border-right: none;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.quantity-control button:last-of-type {
    border-left: none;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}
.primary-btn-delete i{
    padding-left: 2px;
}
.primary-btn-delete.inactive {
    background-color: #ccc;
    cursor: not-allowed;
    color: #666;
    font-weight: 500;
}
.primary-btn-delete.active {
    background-color: #E23E25;
    cursor: pointer;
    color: #fff;
    font-weight: 500;   
}
.primary-btn-delete.active:hover {
    background-color: #c73822;
    color: #fff;
}

.primary-btn-cart,
.primary-btn-cart2 {
  border: none;
  background-color: #00459A;
  padding: 5px 10px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.primary-btn-cart2{
  background-color: #F6F6F6;
  border: 2px solid #00459A;
  color: #00459A;
}

.primary-btn-cart:hover {
    color: #fff;
}
.primary-btn-cart2:hover {
    color: #00459A;
}


@media (max-width: 500px) {
    .address-selection {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-shopping{
        flex-direction: column;
    }
    .cart-shopping .primary-btn-cart{
        margin-top: 7px;
    }
    .quantity-control {
        flex-direction: column;
    }
    .quantity-control button {
        width: 30px;
        height: 30px;
        text-align: center;
        background: #f8f8f8;
        border-radius: 50%;
    }
}

@media (max-width: 991px) {
    .main-content {
        display: block; /* Change display to block for devices with width <= 950px */
    }
    .summary-section{
        margin-top: 20px;
    }
}

@media (min-width: 991px) and (max-width: 1400px) {
    .summary-section{
        margin-left: 20px;
    }
}


/* Order Summary CSS */
.order-summary p{
    font-size: 18px;
}

.order-summary{
    width: 70%;
    margin: 30px auto 0 auto;
}

.card-custom {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    width: 300px;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgb(145, 143, 143);
    border-radius: .25rem;
    margin: 10px;
}

.order-card p{
    color: #000;
}

.edit-profile-btn a{
    text-decoration: underline !important;
    color: #00459A !important;
    font-weight: 600;
    font-size: 16px;
}
