/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

#menu-top-menu .woofc-menu-item {
    display: flex;
    align-items: center;
}
#menu-top-menu .woofc-menu-item a {
    display: flex;
    align-items: center;
}

.woocommerce-terms-and-conditions .fusion-text *{
    font-size: 13px!important;
}
/*******************/
/*TIENDA - SIN ENLACES A PRODUCTO*/
/*******************/
/* Imagen: no clickable */
.woocommerce ul.products .product-images {
    pointer-events: none;
    cursor: default;
}
/* Título: texto sin enlace */
.woocommerce ul.products .product-title a {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}
/* Botón Details: oculto */
.woocommerce ul.products .show_details_button {
    display: none !important;
}

/*******************/
/*ALERTA DE COOKIES*/
/*******************/
.gdpr_lightbox {
	z-index: 999999999!important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content {
    padding-top: 30px;
    padding-bottom: 30px;
}

.moove-gdpr-tab-main-content table{
    width: 100%!important;
    margin-top: 10px;
    margin-bottom: 20px;
}

.moove-gdpr-tab-main-content table thead{font-size: 13px!important; font-weight: bold!important;}
.moove-gdpr-tab-main-content table thead th{
    background-color: #6db6d6!important;
    border: 1px solid #f3f3f3;
    border-top: none;
    padding: 5px;
    color: #fff!important;

}
.moove-gdpr-tab-main-content table tbody{font-size: 11px!important;line-height: 15px!important;}
.moove-gdpr-tab-main-content table tbody td{
    border: 1px solid #dfdfdf;
    padding: 3px;
}
.moove-gdpr-tab-main-content table tbody a{
    font-size: 11px!important;
}


/*******************/
/*MI CUENTA*/
/*******************/
.avada-myaccount-user{display: none!important;}
.woocommerce-MyAccount-content{
    border-radius: 12px;
    background-color: #050505;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}
.woocommerce-MyAccount-content h2 {color: #e8d7a5 !important; font-size: 28px!important;}

.woocommerce-MyAccount-navigation li a{color: #f5f5f5;}
.woocommerce-MyAccount-navigation li a:hover{color: #d4af37;}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f2f5"; /* sign-out-alt */
    margin-right: 4px;
    display: inline-block;
    color: #db8686;
}

/*******************/
/*ALERTAS DE ESTADO*/
/*******************/
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid;
}

/* Info - Borrador / Pendiente (azul-dorado) */
.woocommerce-MyAccount-content .woocommerce-info {
    background-color: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    color: #e8d7a5;
}

/* Mensaje - Publicada (verde) */
.woocommerce-MyAccount-content .woocommerce-message {
    background-color: rgba(76, 175, 80, 0.08);
    border-color: rgba(76, 175, 80, 0.3);
    color: #81c784;
}

/* Error - Papelera (rojo) */
.woocommerce-MyAccount-content .woocommerce-error {
    background-color: rgba(244, 67, 54, 0.08);
    border-color: rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
}

.woocommerce-MyAccount-content .woocommerce-info strong,
.woocommerce-MyAccount-content .woocommerce-message strong,
.woocommerce-MyAccount-content .woocommerce-error strong {
    font-weight: 700;
}

.woocommerce-MyAccount-content .woocommerce-info i.fas,
.woocommerce-MyAccount-content .woocommerce-message i.fas,
.woocommerce-MyAccount-content .woocommerce-error i.fas {
    margin-right: 8px;
    font-size: 16px;
}

/*******************/
/*ESTADO DE TU ANUNCIO*/
/*******************/
.estado-anuncio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}


.estado-anuncio-header .avada-woocommerce-myaccount-heading {
    border: none!important;
}
.estado-anuncio-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid #c9a96e;
    color: #c9a96e;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.estado-anuncio-cta:hover {
    background: #c9a96e;
    color: #fff;
    text-decoration: none;
}
.estado-anuncio-cta i {
    font-size: 14px;
}
.estado-anuncio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.estado-anuncio-col {
    background-color: #111;
    border: 1px solid #282828;
    border-radius: 10px;
    padding: 25px;
}

.estado-anuncio-col h3 {
    color: #e8d7a5 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #282828;
}

.estado-anuncio-col h3 i.fas {
    margin-right: 8px;
}

.estado-anuncio-col .woocommerce-info,
.estado-anuncio-col .woocommerce-message,
.estado-anuncio-col .woocommerce-error {
    margin-bottom: 0 !important;
}

.dias-anuncio-contador {
    text-align: center;
    padding: 20px 0;
}

.dias-anuncio-contador .dias-numero {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.dias-anuncio-contador.sin-dias .dias-numero {
    color: #ef9a9a;
}

.dias-anuncio-contador .dias-texto {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dias-anuncio-contador .dias-expira {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

.dias-anuncio-contador .dias-aviso {
    font-size: 13px;
    color: #ef9a9a;
    margin-top: 15px;
    line-height: 1.4;
}

/* Badge estado activo/inactivo */
.anuncio-estado-badge {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    margin-top: 15px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.anuncio-estado-badge i.fas {
    font-size: 11px;
    vertical-align: middle;
    margin-right: 6px;
}
.anuncio-estado-badge.activo {
    background-color: rgba(76, 175, 80, 0.15);
    color: #81c784;
}
.anuncio-estado-badge.inactivo {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
}

/* Botón activar/desactivar */
.btn-toggle-anuncio {
    display: block;
    margin: 18px auto 0;
    padding: 10px 25px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}
.btn-toggle-anuncio i.fas {
    margin-right: 6px;
}
.btn-toggle-anuncio.activar {
    background-color: rgba(76, 175, 80, 0.12);
    border-color: rgba(76, 175, 80, 0.4);
    color: #81c784;
}
.btn-toggle-anuncio.activar:hover {
    background-color: rgba(76, 175, 80, 0.25);
}
.btn-toggle-anuncio.desactivar {
    background-color: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffd54f;
}
.btn-toggle-anuncio.desactivar:hover {
    background-color: rgba(255, 193, 7, 0.25);
}

@media (max-width: 768px) {
    .estado-anuncio-grid {
        grid-template-columns: 1fr;
    }
    .woocommerce-MyAccount-content h2 {
        font-size: 1.3rem !important;
    }

    /* Tabla de pedidos responsive */
    .woocommerce-orders-table thead {
        display: none !important;
    }
    .woocommerce-orders-table tbody tr {
        display: block !important;
        border-bottom: 2px solid #282828 !important;
        margin-bottom: 1em !important;
        padding-bottom: 0.5em !important;
    }
    .woocommerce-orders-table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 4px !important;
        border-bottom: 1px solid #1e1e1e !important;
        text-align: right !important;
    }
    .woocommerce-orders-table tbody td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #a0a0a0;
        text-align: left;
        flex-shrink: 0;
        margin-right: 1em;
    }
}

/*******************/
/*FICHA DE MODELO*/
/*******************/
.acf-fields > .acf-tab-wrap {
	background: none!important;
    overflow: hidden!important;
    border-bottom: 2px solid #282828!important;
}

.acf-fields .acf-tab-group li a{
    border-radius: 10px 10px 0 0px;
    background-color: #222222!important;
    color: #f5f5f5;
    border: 1px solid #242424!important;
    font-weight: normal;
    font-size: 18px;
    padding: 8px 15px!important;
}
.acf-fields .acf-tab-group li a:hover{
    background-color: #2b2b2b!important;
}

.acf-fields .acf-tab-group li.active a{
    background-color: #d4af37!important;
    color: #050505;
    border: 1px solid #e8d7a5!important;
}

.acf-fields>.acf-field {
    padding: 20px!important;
    border-color: #282828!important;
}

.acf-form-submit{
    float: left;
    width: 100%;
    padding-right: 20px;
    padding-top: 30px;
    margin-top: 10px;
    height: auto!important;
    border-top: 2px solid #282828!important;
}


/*******************/
/*CHECKOUT*/
/*******************/
#post-14 .wc-block-components-notice-banner {
    display: none;
}

.woocommerce .form-row-first,
.woocommerce .form-row-last {
    width: 49% !important;
    float: left;
    margin-right: 2%;
}
.woocommerce .form-row-last {
    margin-right: 0;
}


.woocommerce-billing-fields label,
.woocommerce-shipping-fields label {
    font-weight: 600 !important;
    color: #e8d7a5 !important;
    font-size: 13px !important;
}


.woocommerce-billing-fields input,
.woocommerce-billing-fields select,
.woocommerce-billing-fields .select2-selection__rendered,
.woocommerce-shipping-fields input,
.woocommerce-shipping-fields select,
.woocommerce-shipping-fields .select2-selection__rendered {
    font-size: 13px !important;
    background-color: #111 !important;
    border-color: #282828 !important;
    color: #f5f5f5 !important;
}

.woocommerce-billing-fields p,
.woocommerce-shipping-fields p {
    margin-bottom: 5px !important;
    font-size: 13px !important;
}

/* Resumen del pedido */
.fusion-woo-checkout-order-review-tb thead tr th {
    color: #ffffff!important;
}

.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table tfoot {
    background-color: #0e0e0e !important;
}
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    background-color: #0e0e0e !important;
}
.woocommerce-checkout-review-order-table thead tr {
    border-bottom: 1px solid #282828 !important;
}
.woocommerce-checkout-review-order-table tbody tr {
    height: auto !important;
    border-bottom: 1px solid #282828 !important;
}
.woocommerce-checkout-review-order-table tbody tr:last-of-type {
    border-color: #444 !important;
}
.woocommerce-checkout-review-order-table tbody tr td {
    padding: 8px !important;
    text-transform: none !important;
}
.woocommerce-checkout-review-order-table tbody .product-thumbnail {
    margin-right: 10px !important;
}
.woocommerce-checkout-review-order-table tfoot {
    border: none !important;
}
.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 600 !important;
    text-align: left !important;
    color: #e8d7a5 !important;
    text-transform: uppercase !important;
}
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table tfoot th {
    border-bottom: 1px solid #282828 !important;
    padding: 15px 8px !important;
}
.woocommerce-checkout-review-order-table tfoot tr:last-of-type td,
.woocommerce-checkout-review-order-table tfoot tr:last-of-type th {
    border: none !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total .woocommerce-Price-amount {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #d4af37 !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total .includes_tax .woocommerce-Price-amount {
    font-size: 12px !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total .includes_tax {
    display: block;
}

/* Métodos de envío */
.woocommerce-shipping-methods {
    font-size: 17px !important;
}
.woocommerce-shipping-methods li {
    margin-bottom: 10px;
    background-color: #111;
    border: 1px solid #282828;
    border-radius: 6px;
    padding: 5px;
}
.woocommerce-shipping-methods li label {
    font-size: 15px !important;
    padding: 5px 5px 5px 20px !important;
    width: 100% !important;
    text-align: left !important;
    color: #e8d7a5 !important;
    font-weight: 600 !important;
}
.woocommerce-shipping-methods li > label::before {
    left: 0px !important;
}
.woocommerce-shipping-methods li > label::after {
    left: 4px !important;
}
.woocommerce-shipping-methods li .woocommerce-Price-amount {
    color: #d4af37 !important;
}

/* Métodos de pago */
.wc_payment_method label{
    background-color: #0e0e0e!important;
}

.wc_payment_method .payment_box{
    background-color: #242424!important;
    color: #a0a0a0!important;
    padding-top: 15px!important;
}

.woocommerce-checkout-payment .wc-block-components-notice-banner {
    font-size: 13px !important;
}
.woocommerce-checkout-payment label {
    font-weight: 600;
    color: #e8d7a5 !important;
    cursor: pointer;
}
.woocommerce-checkout-payment .payment_box {
    font-size: 13px !important;
}
.woocommerce-checkout-payment .payment_box img {
    width: 100%;
    height: auto;
}

.woocommerce-checkout-payment .woocommerce-privacy-policy-text a{
    color: #d4af37!important;
}

.woocommerce-terms-and-conditions-checkbox-text .woocommerce-terms-and-conditions-link{
    color: #d4af37!important;
}

.woocommerce-checkout-payment .woocommerce-privacy-policy-text {
    background-color: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 15px;
    font-size: 13px !important;
    margin: 10px 0 15px;
    color: #a0a0a0;
}
.woocommerce-checkout-payment .woocommerce-privacy-policy-text p {
    margin-bottom: 0;
}
.woocommerce-checkout-payment .woocommerce-terms-and-conditions-checkbox-text {
    font-weight: 600;
    color: #e8d7a5;
}

/* Botón realizar pedido */
button#place_order {
    text-transform: uppercase !important;
    font-weight: 700 !important;
    background-color: #d4af37 !important;
    color: #050505 !important;
    border: none !important;
    letter-spacing: 0.08em !important;
    transition: background 0.2s !important;
}
button#place_order:hover {
    background-color: #c9a96e !important;
}