a {
    color: var(--primary-color);
}
a:hover {
    color: var(--primary-color) !important;
}
#shoppingCart {
    margin-top: 20px;
    margin-bottom: 100px;
    min-height: 20pc;
}
.cart-alert__button a:hover{
    color: #fFFFFF !important;
}

.border-default {
    border-bottom: 1px solid var(--border-color);
}
.field-label {
    font-size: calc(var(--font-size) - 2px) !important;
}
.unidentified-part-name {
    color: var(--primary-color) !important;
    font-size: calc(var(--font-size) + 2px) !important;
    font-weight: 700 !important;
}
.field-label.shipping-method-label {
   white-space: nowrap;
}

.buy-cart-header {
    background: var(--third-color);
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 5px 5px 0px 0px;
}
.no-cart-header {
    padding: 10px 0px;
    margin-top: 10px;
}
.order-item {
    padding: 20px;
}
.buy-cart-text {
    flex-basis: 0;
    -webkit-box-flex: 1;
    flex-grow: 1;
    max-width: 100%;
}
.buy-cart-text p{
    font-weight: 700;
    /* font-size: calc(var(--font-size) + 5px); */
}
.buy-cart-text p span{
    font-weight: normal;
    font-size: calc(var(--font-size) - 2px);
    color: gray;
    float: right;
    padding-left: 5px;
}
.order-columns {
    /* margin-top: 1rem; */
    margin-bottom: 2rem;
    /* padding-right: 3%; */
}
.order-columns .order-header-3 {
    font-size: calc(var(--font-size) + 2px);
}
.order-columns .page-box {
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}
.order-header-3 {
    font-weight: 700;
}
.merchant-items {
    /* padding: 0px 20px 20px 20px; */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}
.item-name a{
    margin-bottom: 10px;
    font-size: calc(var(--font-size) + 2px);
    font-weight: 700;
    outline: 0;
}
.product-info-row img {
    border-radius: var(--border-radius);
    width: 100%;
    aspect-ratio: 1/1;
}
.product-info-table {
    width: 100%;
}
.product-info-table td {
    vertical-align: top;
}
.product-info-table td:not(:last-of-type) {
    padding-right: 20px;
}
/* .product-info-table td:nth-of-type(1) {
    width: 30%;
}
.product-info-table td:nth-of-type(2) {
    width: 25%;
} */
.lot-size {
    display: flex !important;
    white-space: nowrap;
    padding-top: 0.2em;
}
.product-info-table-col1{
    /* width: 20%; */
    width: 15%;
}
.product-info-table-col2{
    width: 32%;
}
.product-info-table-col3{
    width: 19%;
}
.product-info-table-col4{
    width: 26%;
}
.product-info-table .update-quantity-form {
    position: relative;
}
.remove-item {
    margin-top: 10px;
    font-size: calc(var(--font-size) - 2px);
}
.net-price {
    font-weight: 700;
    margin-bottom: 10px;
}
.net-price span{
    font-size: var(--font-size);
}
.lot-weight {
    font-size: calc(var(--font-size) - 2px);
    margin-left: 2px;
}
.item-price {
    display: grid;
    justify-items: center;
}
.infoAndTable {
    width: 100%;
    margin-top: 15px;
}
.infoAndTable td {
    padding: 10px 20px;
}
.infoAndTable td:nth-of-type(1) {
    width: 55%;
    text-align: left;
}
.infoAndTable td:nth-of-type(2) {
    width: 45%;
    text-align: right;
}
 .order-totals-column {
    max-width: 35%;
 }
.ptb-3 {
    padding: 10px 20px !important;
}
.btn-link {
    cursor: pointer;
    text-decoration: none;
    font-size: calc(var(--font-size) - 2px);
    white-space: nowrap;
}
.btn-link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.total-cost {
    border: 1px solid var(--border-color);
    border-radius: 5px 5px;
    min-height: 47px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2);
    background: #fff;
}
.price-font {
    font-size: calc(var(--font-size) + 2px);
    font-weight: bold;
}
.price-details-text {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--border-color);
    background: var(--third-color);
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 5px 5px 0px 0px;
}
.rfq-cart-text {
    padding: 10px;
}
.qty-change-buttons {
    display: flex;
    width: 135%;
    color: var(--secondary-color);
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.qty-change-button {
    width: 25px;
    height: 25px;
    background: linear-gradient(#fff, #f9f9f9);
    display: inline-block;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: var(--font-size);
    border-radius: 50%;
    line-height: 1;
}
.qty-change-input {
    display: inline-block;
    padding: 3px 6px;
    width: calc(100% - 145px);
    height: 100%;
    margin: 0 10px;
}
.qty-change-input input {
    text-align: center;
}
.place-order {
    border: 1px solid var(--border-color);
    padding: 9px !important;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2);
    border-radius: var(--border-radius);
}
.place-order-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.place-order-btn .btn-primary {
  /* font-size: calc(var(--font-size) - 2px) !important;
  padding: 6px 20px !important;   */
}
.place-order-btn .btn-primary:hover {
  color: #fff !important;
}
.btn.btn-primary.buy-cart {
    font-size: calc(var(--font-size) - 2px) ;
    padding: 8px 20px !important;
}

.place-order.buy-cart {
    padding: 20px !important;
}

/* .product-attr {
    /* font-size: calc(var(--font-size) - 2px); */

.btn-link.buy-cart {
    display: flex;
    white-space: nowrap;
    /* align-items: baseline; */
}
.product-attr a {
    color: var(--alternative-color);
}
.product-attr li {
    list-style: disc !important;
    padding-top: 2px;
    margin-left: 15px;
    color: var(--alternative-color); /* Reduce margin between bullet and text */
    font-size: calc(var(--font-size) - 2px);
  }
  .product-attr li  span{
    color:  var(--secondary-color);
  }
.product-attr li span a{
    color: var(--secondary-color);
    font-size: calc(var(--font-size) - 2px);
}
.place-order-btn a:hover {
    color: #fff;
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
/* .surplus-item{
    background: #e3d7ff38;
} */
/* .surplus-label{
    background: #e3d7ff;
    border-radius: 20px;
    color: #3D188D;
    padding: 3px 10px;
    font-size: calc(var(--font-size) - 3px);
    margin-left: 3px;
    font-weight: bold;
} */
.surplus-label {
    border-radius: var(--border-radius);
    padding: 0px 8px 1px 8px;
    font-size: calc(var(--font-size) - 3px);
    margin-left: 10px;
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.vat-label {
    padding: 5px 15px;
    border-radius: var(--border-radius);
    background-color: #fdf4d6;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .2);
}
.category-label{
    color: rgb(102, 102, 102) !important;
    margin-right: 5px;
}
.product-attr .cart-category-link a{
    color: var(--primary-color) !important;
}

@media (max-width:1024px) and (min-width:768px) {
    .btn.btn-primary.buy-cart {
        font-size: calc(var(--font-size) - 0.18em) !important;
        padding: 0.2em 0.18em !important;
    }
    .btn-link.buy-cart {
        display: flex;
        white-space: nowrap;
        margin-right: 0.9em;
        align-items: baseline;
    }
    .place-order-btn .btn-primary {
        font-size: calc(var(--font-size) - 0.25em) !important;
        padding: 6px 10px !important;
        white-space: nowrap;
    }

    .place-order-btn .btn-primary.buy-cart {
        font-size: calc(var(--font-size) - 0.25em) !important;
        padding: 6px 14px !important;
        white-space: wrap;
    }
}

@media (max-width: 800px) and (min-width: 360px){
.order-columns {
    /* margin-top: 1rem; */
    margin-bottom: 2rem;
    /* padding-right: 3%; */
    width: 96vw;
}

tr.product-info-row {
    display: block;
}

.product-info-row img {
    border-radius: var(--border-radius);
    width: 77px;
    aspect-ratio: 1 / 1;
}
.product-cart-img{
    max-width: 500px;
}
.item-name a{
    white-space: nowrap;
}
.total-cost{
    margin-top: 10px;
    width: 90vw;
}
.buy_cart_field {
    width: 90vw;
}
.rfq_cart_field.vat-label {
    width: 90vw;
}
.place-order.buy-cart {
    padding: 8px !important;
    width: 91vw;
}
    .btn-link.buy-cart {
    display: flex;
    white-space: nowrap;
    margin-right: 2em;
    align-items: anchor-center;
    /* padding-left: 0.9em; */
}
#shoppingCart{
    min-height: 48pc;
}
.r-f-q_cart{
        height: 100% !important;
}
#shoppingCart tr, #shoppingCart td{
    display: block;
    white-space: nowrap;

}
td.product-info-table-col3 {
    width: 129px;
}
.product-details {
    width: 74vw;
}
#shoppingCart #cart_items .infoAndTable tr{
    display: flex;
}
#shoppingCart #cart_items .infoAndTable td:nth-of-type(1){
        width: 102%;
}
.btn.btn-primary.buy-cart{
        white-space: pre-line;
    line-height: 1.4;
}
.prod-price-field{
    white-space: nowrap;
}
.place-order-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em;
}
.product-details .product-attr{
    white-space: normal;
}
}
@media (max-width: 873px) and (min-width: 393px){
select#deliveryType {
    width: 78vw;
}
.qty-change-buttons {
    width: 89vw !important;
}
td.product-info-table-col4 {
    white-space: nowrap;
}
.place-order-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em;
}
.product-details .product-attr{
    white-space: normal;
}
}
.show-full-width-notification .cart-alert__image {
     display: none !important;
}
.show-full-width-notification .cart-alert__details {
     width: 100% !important;
}
