/* Custom Styles for Request a Quote Table Override */

.shop_table.overridden {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.shop_table.overridden td,
.shop_table.overridden th {
    padding: 12px 15px;
    text-align: left;
}

.checkout-section .container{background-color: transparent !important; padding: 0;padding-left: 16px;padding-right: 16px;}
.checkout-section .content-wrapper{background-color: #f5f5f5;padding: 20px;}
.checkout-section .content-wrapper:not(:last-child){margin: 0 0 40px;}
.checkout-section .billing-section{padding: 0;}
.checkout-section .billing-section .billing-title{letter-spacing: -0.05rem; font-weight: 600;}
.billing-section .billing-form .billing-form-container .form-actions .submit-action{cursor: pointer;}

#yith-ywraq-form .item-heading {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    font-family: 'PierSans';
    color: #5A5A5A;
}

#yith-ywraq-form table.shop_table.overriden-template {
    border: 0;
    display: block;
}

#yith-ywraq-form table.shop_table.overriden-template tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#yith-ywraq-form table.shop_table.overriden-template .cart_item {
    padding: 20px 16px;
    display: flex;
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    align-items: center;
    gap: 16px;
}

#yith-ywraq-form table.shop_table.overriden-template .cart_item td {
    border: 0;
    padding: 0;
}

#yith-ywraq-form table.shop_table.overriden-template .product-thumbnail {
    border: 0;
    padding: 0;
    flex-shrink: 0;
    width: 64px;
    aspect-ratio: 1 / 1;
}

#yith-ywraq-form table.shop_table.overriden-template .product-thumbnail a {
    display: flex;
    width: 100%;
    height: 100%;
}

#yith-ywraq-form table.shop_table.overriden-template .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#yith-ywraq-form table.shop_table.overriden-template .product-name {
    flex-shrink: 1;
    flex-grow: 1;
}

#yith-ywraq-form table.shop_table.overriden-template .product-name a {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.1rem;
    font-weight: 500;
}

#yith-ywraq-form table.shop_table.overriden-template .product-name small {
    font-size: 14px;
    line-height: 1.5;
}

#yith-ywraq-form table.shop_table.overriden-template .product-quantity {
    flex-shrink: 0;
    width: auto;
}

#yith-ywraq-form table.shop_table.overriden-template .product-quantity .quantity {
    flex-shrink: 0;
}

#yith-ywraq-form table.shop_table.overriden-template .product-quantity .checkout-spinner {
    background-color: #F8F7F8;
    padding: 2px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 120px;
}

#yith-ywraq-form table.shop_table.overriden-template .product-quantity .checkout-spinner .quote-qty-input {
    max-width: 40px;
    background-color: transparent;
    color: #333333;
    text-align: center;
    padding: 0;
    margin: 0;
    height: 24px;
    outline: none !important;
    border: none !important;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

#yith-ywraq-form table.shop_table.overriden-template .product-quantity .checkout-spinner .quote-qty-input::-webkit-outer-spin-button,
#yith-ywraq-form table.shop_table.overriden-template .product-quantity .checkout-spinner .quote-qty-input::-webkit-inner-spin-button {
    -moz-appearance: textfield;
    -webkit-appearance: none;
    margin: 0;
}

#yith-ywraq-form table.shop_table.overriden-template .product-quantity .checkout-spinner .check-minus {
    background: #fff;
    outline: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #555555;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#yith-ywraq-form table.shop_table.overriden-template .product-quantity .checkout-spinner .check-plus {
    background: var(--red, #e31e24);
    outline: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#yith-ywraq-form table.shop_table.overriden-template .product-remove {
    flex-shrink: 0;
    width: auto;
    max-width: none;
}

#yith-ywraq-form table.shop_table.overriden-template .product-remove .remove {
    display: flex;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.125rem;
    background-color: transparent !important;
    border-radius: 0;
    color: #dd2c1c !important;
}

#yith-ywraq-form .update-list-wrapper {
    margin: 24px 0 0;
    justify-content: flex-start !important;
    gap: 16px;
    flex-wrap: wrap;
}

#yith-ywraq-form .update-list-wrapper .button {
    height: 54px;
    padding: 0 35px;
    background-color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shades01);
    font-family: 'PierSans', sans-serif;
    letter-spacing: 5%;
    border: 1px solid var(--red);
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 0 !important;
}
#yith-ywraq-form .update-list-wrapper .button.wc-backward.yith-ywraq-after-table-wc-backward{
    background-color: var(--shades01);color: var(--red);border:1px solid var(--red);
}
#yith-ywraq-form .update-list-wrapper .button:hover {
    background-color: transparent;color: var(--red);
}
#yith-ywraq-form .update-list-wrapper .button.wc-backward.yith-ywraq-after-table-wc-backward:hover{
    background-color: var(--red);color: var(--shades01);
}

@media screen and (max-width:480px){
    #yith-ywraq-form table.shop_table.overriden-template .cart_item{flex-wrap: wrap; justify-content: center;}
    #yith-ywraq-form table.shop_table.overriden-template .product-thumbnail{width: 88px; margin: 0 auto;}
    #yith-ywraq-form table.shop_table.overriden-template .product-name{text-align: center;}
    #yith-ywraq-form table.shop_table.overriden-template .product-name a{font-size: 16px;}
    #yith-ywraq-form table.shop_table.overriden-template .product-quantity{flex-shrink: 1; flex-grow: 1;}
    #yith-ywraq-form table.shop_table.overriden-template .product-remove{flex-shrink: 1; flex-grow: 1;}
    #yith-ywraq-form .update-list-wrapper .button{width: 100%;height: 40px; font-size: 14px;}
    .billing-section .billing-form .billing-form-container .form-actions > *{width: 100%;}
    .checkout-section .checkout-footer .update-action, .checkout-section .checkout-footer .continue-action, .billing-section .billing-form .billing-form-container .form-actions .submit-action{width: 100%;}
}