/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


input[type=text],
input[type=email],
input[type=number]:not(.qty),
input[type=tel],
input[type=password],
input[type=url],
textarea,
select{
    box-shadow: 0 1px 2px rgba(16,24,40,0.05);
    border-radius: 8px !important;
    border: 1px solid #D0D5DD;
}

input[type=submit] {
    border-radius: 8px;
    padding: 10px 14px;
    background: #000;
    color:#FFF;
    font-weight: 600;
    letter-spacing: 0;
    border: 1px solid #000;
}

button.woocommerce-button {
    background: #000;
    border-radius:6px;
    padding: 10px 16px;
    color: #FFF;
    font-weight: bold;
}

form.woocommerce-form.woocommerce-form-login,
form.woocommerce-form.woocommerce-form-register {
    border-radius: 8px;
    box-shadow: 1px 2px rgba(16,24,40,0.05);
}

form.woocommerce-ResetPassword.lost_reset_password {
    max-width: 500px;
    margin: auto;
}

form.woocommerce-cart-form .quantity {
    width: auto !important;
}

.quantity span.minus {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-color: #D0D5DD;
}

.quantity span.plus {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-color: #D0D5DD;
}

.quantity input {
    border-radius: 0;
}


.woocommerce-cart-form thead th,
.woocommerce-cart-form tbody td:not(.actions) {
    font-size: 14px;
    border-bottom: 1px solid #EAECF0;
}

.woocommerce-cart-form tbody td {
    padding: 12px !important;
}

.woocommerce-cart-form thead th.product-subtotal,
.woocommerce-cart-form tbody td.product-subtotal {
    padding-right: 24px !important;
}


.woocommerce-cart-form .actions {
    padding: 24px !important;
}

/** CART TOTALS **/

.cart_totals h2 {
    font-size: 16px;
    padding: 0 24px;
}

.cart-collaterals table {
    padding: 0px;
    border-top: 1px solid #EAECF0 !important;
    border-bottom: 1px solid #EAECF0 !important;
    margin: 0 !important;
}
.cart-collaterals table tr.order-total {
    background-color: #F9FAFB;
}

.cart-collaterals table tr.order-total th,
.cart-collaterals table tr.order-total td {
    border-top: 1px solid #EAECF0;
}

.cart-collaterals table td,
.cart-collaterals table th{
    padding-left:24px !important;
    padding-right:24px !important;
}

.cart-collaterals .rp-donation-block.checkout_donation {
    padding: 24px;
    border-bottom: 1px solid #eaecf0;
}

.cart-collaterals .rp-donation-block.checkout_donation .input.text {
    border: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.cart-collaterals .rp-donation-block.checkout_donation input[type=text] {
    max-width: 100%;
    width: 80%;
}

.cart-collaterals .rp-donation-block.checkout_donation input[type=text]::placeholder {
    color: #999;
}

.cart-collaterals .rp-donation-block.checkout_donation input[type=button] {
    background: #f58220;
    color: #FFF;
    border-radius: 8px;
    padding: 2px 14px;
}

.cart-collaterals .rp-donation-block.checkout_donation input[type=button]:hover {
    background: #ff9800;
}

.cart-collaterals .rp-donation-block.checkout_donation .message {
    background: #fff9db;
    color: #101828;
    border-radius: 8px;
    border: 1px solid #fff3bf;
    padding: 8px;
    font-weight: 400;
}

.cart-collaterals .rp-donation-block.checkout_donation .message a {
    font-weight: bold;
    text-decoration: underline;
}

.cart-collaterals .wc-proceed-to-checkout {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-collaterals .wc-proceed-to-checkout .button {
    width: 100%;
    border-radius: 8px;
    background-color: #f58220;
    color: #FFF;
    transition: all 0.2s;
    text-align: center;
    font-weight: 600;
    font-size: 18px !important;
    line-height: 24px !important;
    padding: 12px 14px;
}

.cart-collaterals .wc-proceed-to-checkout .button:hover {
    background-color:#ff9800;
}

.cart_totals .shipping {
    display: none !important;
}


/** CART WIDGET **/
.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons {
    display: flex !important;
    flex-direction: column;
    gap: 12px !important;
}

body .brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons a:not(.checkout) {
    background-color: #f58220 !important;
    color: #FFF !important;
}

.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons a.button.checkout {
    background-color: #f58220 !important;
    display: none !important;
}

.brxe-woocommerce-mini-cart .cart-detail li a {
    font-size: 16px;
    color: #000;
}

/** COUPON **/
.brxe-woocommerce-cart-coupon {
    display: flex;
    width: 100% !important;
}
.brxe-woocommerce-cart-coupon .coupon {
    flex-direction: row;
    gap: 8px !important;
    width: 100%;
}

.brxe-woocommerce-cart-coupon .coupon input {
    width: calc(70% - 4px) !important;
}
.brxe-woocommerce-cart-coupon .coupon button.button,
.woocommerce-cart-form .actions button{
    background: #101828;
    padding: 10px 14px;
    font-size: 15px; 
    font-weight: 600;
    color:#FFF;
    border-radius: 8px;
    width: calc(30% - 4px) !important;
    text-align: center;
}




/** checkout **/
tr.shipping_total_fee,
.wfacp_shipping_table ul li .wfacp_shipping_price,
body .shop_table tr.shipping_total_fee td[data-title=Entrega] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.rp-donation-block.checkout_donation .input.text {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    padding: 0 !important;
    border: 0 !important;
    justify-content: flex-start;
}

.rp-donation-block.checkout_donation .inpu.text input[type=button] {
    font-size: 16px !important;
    padding: 4px 16px !important;
    width: auto !important;
}




/** product page **/
.brxe-product-price p.price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brxe-product-price p.price del {
    color: #98A2B3 !important;
    font-size: 14px;
    font-weight: 400;
}

.brxe-product-price p.price > span.amount,
.brxe-product-price p.price ins span.amount {
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.brxe-product-price p.price .wc-simulador-parcelas-parcelamento-info-container {
    font-size: 16px;
    color: #475467;
}

.brxe-product-price p.price .wc-simulador-parcelas-offer span.amount {
    color: #f58220;
    font-weight: 700;
    font-size: 20px;
}



/** product list **/
.product-listing .brxe-product-price p.price {
    align-items: center;
    text-align: center;
}

.product-listing .quick-actions {
    opacity: 0;
    transition: all 0.2s;
    transform: translateZ(-5px)
}
@media(min-width:767px) {
.product-listing:hover .quick-actions {
    opacity: 1;
    transform: translateZ(0px);
}

}



/** share cart **/
.wpcss-products.shop_table {
    max-width: 1170px;
    margin: auto;
    flex-direction: column;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 2px rgba(16,24,40, 0.05);
}

.wpcss-products.shop_table tr.woocommerce-cart-form__cart-item td {
    border-bottom: 1px solid #eaecf0;
    padding: 8px 0;
}

.wpcss-products.shop_table tr::last-child {
    height: 64px;
}

.wpcss-products.shop_table td.product-thumbnail {
    width: 90px;
}

.wpcss-products.shop_table .wpcss-actions button.wpcss-add-selected {
    background: #f58220;
    color:#FFF;
    font-weight: bold;
    padding: 10px 14px;
    border-radius: 8px;    
}

.wpcss-products.shop_table .wpcss-actions button.wpcss-add-all {
    background: #000;
    color:#FFF;
    border-radius: 8px;
    padding: 10px 14px;
}
.wpcss-shortcode {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
}
.wpcss-share-actions {
    background: #FFF;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(26,24,40,0.05);
    padding: 32px;
}

.wpcss-share-actions .wpcss-copy {
    display: flex;
    flex-direction: row;
    gap: 4px;
}
.wpcss-share-actions .wpcss-copy-btn input[type=button] {
    background: #000;
    color:#FFF;
    border-radius: 8px;
    border: 0;
}

/**
.wpcss-share-actions .wpcss-copy-label {
    display: none;
}
**/


/** AJAX SEARCH **/

.ywcas-input-field {
    border-radius: 8px !important;
    padding: 10px !important;
}


.ywcas-popover-results .popover-content {
    max-width: 864px;
}

.ywcas-popover-results .popover-content .wp-block-yith-filled-block .ywcas-search-results .search-result-item .search-result-item__thumbnail img {
    border: 0 !important;
}

.ywcas-popover-results .popover-content .wp-block-yith-filled-block .ywcas-search-results.list .ywcas-search-results-grid {
    grid-template-columns: auto auto;
}

.wp-block-yith-search-block .ywcas-classic-search .ywcas-input-field-wrapper .ywcas-submit-wrapper {
    border-radius: 8px !important;
    background: #f1f3f5 !important;
    border: 0 !important;
}






/** donation on checkout page **/
body .wfacp_main_form .woocommerce-checkout .button.donate-remove,
body .wfacp_main_form .woocommerce-checkout .button.donate-btn {
    font-size: 16px !important;
    padding: 10px 14px !important;
    background: #FFF !important;
    border: 1px solid #bfbfbf;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(16,24,40,0,0.5);
    color: #495057 !important;
    height: 50px !important;
    width: auto !important;
}

body .wfacp_main_form.woocommerce input.text-donation {
    padding-top: 8px !important;
}

body .wfacp_main_form.woocommerce .rp-donation-block.checkout_donation {
    padding: 16px;
    background: #f1f3f5;
    border-radius: 12px;
}

body .wfacp_main_form.woocommerce .rp-donation-block.checkout_donation p.message {
    display: block !important;
    font-size: 20px;
}




/** ajax search **/
form.aws-search-form {
    background: #f2f4f7;
    border-radius: 8px;
}

form.aws-search-form input[type=search] {
    background: #f2f4f7;
    border-radius: 8px !important;
    border: none;
    padding-left: 12px;
    font-size: 16px;
    color: #495057;
}

.aws-container .aws-search-form .aws-form-btn {
    background: none;
    border: none;
}