/*
 Theme Name:     Dwelll Affordable Child
 Theme URI:      https://dwelll.com.br/
 Description:    Tema filho do Hello Elementor para o Dwelll Affordable, incluindo customizações e Tailwind CSS.
 Author:         Expand UP
 Author URI:     https://seusite.com.br/
 Template:       hello-elementor
 Version:        1.0
 Text Domain:    dwelll-child
*/

body.dashboard-general {
    padding-top: 67px;
}

#content.site-main {
    margin-top: 20px;
    max-width : 1280px !important;
    padding   : 30px 30px 60px;
}

/*
* Woocommerce
*/
body.woocommerce-page {
    background-color: #f0eff8;
}

body.woocommerce-page .page-header {
    display: flex;
    position: relative;
    background-color: #ffffff;
    padding: 25px 20px 30px;
    margin-bottom: 24px;
    border-radius: 8px;
}

body.woocommerce-page .page-header .entry-title {
    font-weight: 600;
    font-size  : 18px !important;
    color      : #797D8C;
    margin     : 0px;
    position: relative;
    display: block;
}

body.woocommerce-page .page-header .entry-title:before {
    content   : '';
    display   : block;
    width     : 10%;
    height    : 5px;
    background: #9378E3;
    position  : absolute;
    bottom    : -12px;
}

body.woocommerce-page .woocommerce-MyAccount-navigation {    
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 8px;
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li {
    width: 100%;
    display: flex;
    margin: 0px;
    border-bottom: 1px solid #ddd;
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li a {
    color: #31322e !important;
    font-size: 16px !important;
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 16px 8px 16px 4px;
    gap: 16px;
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #f5f5f5;
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a:before {
    content   : '';
    width: 20px;
    height: 20px;
    background-image: url(assets/images/store.png);
    background-size: cover;    
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a:before {
    content   : '';
    width: 20px;
    height: 20px;
    background-image: url(assets/images/pedidos.png);
    background-size: cover;    
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a:before {
    content   : '';
    width: 20px;
    height: 20px;
    background-image: url(assets/images/endereco.png);
    background-size: cover;    
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a:before {
    content   : '';
    width: 20px;
    height: 20px;
    background-image: url(assets/images/cadastro.png);
    background-size: cover;    
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content   : '';
    width: 20px;
    height: 20px;
    background-image: url(assets/images/sair.png);
    background-size: cover;    
}

body.woocommerce-page .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a:before {
    content   : '';
    width: 20px;
    height: 20px;
    background-image: url(assets/images/pagamentos.png);
    background-size: cover;    
}

body.woocommerce-page .woocommerce-MyAccount-content {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 8px;
    color: #797D8C;
    font-size: 16px;
}
body.woocommerce-page #card-panel input, body.woocommerce-page #card-panel select {
    background-color: #fff;
    color: #515151;
}
body.woocommerce-page #card-panel .p-Select option {
    background-color: #fff;
    color: #515151;
}
body.woocommerce-page .woocommerce-button,
body.woocommerce-page .button {
    background-color: #9378E3;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 400;
    padding: 12px 30px;
    font-size: 16px;
}

body.woocommerce-page .woocommerce-button:hover,
body.woocommerce-page .button:hover {
    background-color: #FE829A;
    color: #ffffff;
    border-radius: 8px;
}

body.woocommerce-page .woocommerce-Address-title.title h2,
body.woocommerce-page .woocommerce-MyAccount-content h2 {
    color: #31322e !important;
    font-size: 21px;
    margin: 0;
    padding: 0;
}

body.woocommerce-page .woocommerce-address-fields__field-wrapper {
    margin-bottom: 25px;
}

body.woocommerce-page .woocommerce-form.woocommerce-form-login,
body.woocommerce-page .woocommerce-form.woocommerce-form-register {
    background-color: #ffffff;
}

body.woocommerce-page .woocommerce-ResetPassword.lost_reset_password {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 8px;
}

body.woocommerce-page .woocommerce-button.woocommerce-form-login__submit,
body.woocommerce-page .woocommerce-ResetPassword.lost_reset_password .woocommerce-Button {
    padding: 12px 30px;
    font-size: 16px;
}



body.woocommerce-page .woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    padding         : 10px 14px 10px 14px;
    color           : #585858;
    background-color: #ffffff;
    border          : 1px solid #D5D5D8;
    max-width       : 95%;
}

body.woocommerce-page .woocommerce form p.woocommerce-form-row label {
    gap      : 16px;
    display  : flex;
    font-size: 16px;
    color    : #585858;
}

body.woocommerce-page .woocommerce form fieldset {
    background-color: #ffffff;
    border          : 1px solid #DDE4F0;
    margin          : 16px 0;
}

body.woocommerce-page.dwelll-site .alignwide {
    margin-inline: 0 !important;
}

body.woocommerce-page.dwelll-site .wc-block-components-sidebar-layout {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto 16px;
    position: relative;
    gap: 30px;
    justify-content: space-between;
}

body.woocommerce-page.dwelll-site .woocommerce-order {
    background-color: #ffffff;
    padding: 25px 20px 30px;
    border-radius: 8px;
}

body.woocommerce-page.dwelll-site .woocommerce-order h2.wc-bacs-bank-details-heading,
body.woocommerce-page.dwelll-site h2.woocommerce-order-details__title,
body.woocommerce-page.dwelll-site h2.woocommerce-column__title {
    font-size: 26px;
}

body.woocommerce-page.dwelll-site  h3.wc-bacs-bank-details-account-name {
    font-size: 21px;
}
    
body.woocommerce-page.dwelll-site .wc-block-components-sidebar-layout .wc-block-components-main {
    box-sizing: border-box;
    margin: 0;
    padding-right: 0;
    width: 60%;
    background-color: #ffffff;
    padding: 25px 20px 30px;
    border-radius: 8px;
}

body.woocommerce-page.dwelll-site .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    box-sizing: border-box;
    margin-top: 8px;
    padding-left: 0;
    width: 35%;
    background-color: #ffffff;
    padding: 25px 20px 30px;
    border-radius: 8px;
}

body.woocommerce-page.dwelll-site .wp-block-woocommerce-cart-line-items-block {
    font-size: 18px;
    color: var(--dash-cinza-ardosia);
}

body.woocommerce-page.dwelll-site .wc-block-cart-item__product a,
body.woocommerce-page.dwelll-site .wc-block-cart-item__image a {
    pointer-events: none;
    text-decoration: none;
    color: inherit;
}

body.woocommerce-page.dwelll-site .wc-block-components-button.wc-block-cart__submit-button {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px 8px 8px 8px;
    padding: 12px 25px 12px 25px;  
    background-color: #6c5dd4;  
    color: #fff;
    width: 100%;    
    margin-top: 20px;
    margin-bottom: 10px;
    min-height: 40px;
}

body.woocommerce-page.dwelll-site .wc-block-components-button.wc-block-cart__submit-button:hover {
    background-color: #fe829a;
}

body.woocommerce-page.dwelll-site .wc-block-components-button.wc-block-components-totals-coupon__button {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px 8px 8px 8px;
    padding: 12px 25px 12px 25px;  
    background-color: #fff;
    border: 1px solid #6c5dd4;
    color: #6c5dd4;
    width: 100%;    
    margin-top: 20px;
    margin-bottom: 10px;
    min-height: 40px;
}

body.woocommerce-page.dwelll-site .see-my-event-container {
    margin: 30px 0;
    padding: 30px;
    text-align: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.woocommerce-page.dwelll-site .see-my-event-container .see-my-event {
    max-width: 420px;
}

body.woocommerce-page.dwelll-site .wc-block-components-checkout-place-order-button,
body.woocommerce-page.dwelll-site .see-my-event {
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px 8px 8px 8px;
    padding: 12px 25px 12px 25px;  
    background-color: #6c5dd4;
    border: 1px solid #6c5dd4;
    color: #fff;
    width: 100%;    
    margin-top: 20px;
    margin-bottom: 10px;
    min-height: 40px;
}

body.woocommerce-page.dwelll-site .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-page.dwelll-site .see-my-event:hover {
    background-color: #fe829a;
    border: 1px solid #fe829a;
    color: #fff;
}

body.woocommerce-page.dwelll-site .wc-block-components-address-card__edit:hover {
    background-color: #6c5dd4; 
}

body.woocommerce-page.dwelll-site .wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
}

body.woocommerce-page.dwelll-site .wc-block-checkout__terms a{
    color: var(--site-cinza-ardosia);
}

body.woocommerce-page.dwelll-site .wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
    border-top: 1px solid hsla(0, 0%, 7%, .11);
    padding-top: 8px !important;
}

body.woocommerce-page.dwelll-site .wc-block-checkout__terms {
    margin: 0 0 8px !important;
}

@media (max-width: 768px) {

    body.woocommerce-page.dwelll-site .wc-block-components-sidebar-layout .wc-block-components-main {        
        width: 100%;        
    }

    body.woocommerce-page.dwelll-site .wc-block-components-sidebar-layout .wc-block-components-sidebar {        
        width: 100%;        
    }

}