/* -------------------------------------------------------------------------- */
/*                                    DOKAN                                   */
/* -------------------------------------------------------------------------- */

/* Corregir Margen de Dropdown en Tags */
.select2-container--open .select2-dropdown--below {
    margin-top: 35px !important;
}

/* Adecuar Anchura de Popup Dokan*/
#dokan-add-product-popup{
    max-width: 95%;
}

/* Corregir Dashboard fuera de la Pantalla en Configuraciones Dokan */
.dokan-dashboard .dokan-right{
    float: right !important;
    max-width: 140px;
    white-space: normal;
    font-size: 12px;
}

/* Cambiar Tamaño de Títulos en el Dashboard */
.dokan-dashboard-header h1{
    font-size: 24px;
}

/* Cambiar Espacio entre letras de los Botónes en el DashBoard */
.dokan-dashboard input[type="submit"]{
    letter-spacing: 2.5px;
}

/* Ocultar Overflow en el Dashboard */
.dokan-dashboard-content article {
    overflow: hidden !important;
}

/* Modificar Tamaño de Banner Tiendas Dokan */
.dokan-single-store .profile-frame .profile-info-box .profile-info-img {
    width: 100%;
    height: 300px;
}
/* Corregir Botón Guardar Producto */
#publish{
    margin-right: 10px;
    min-width: fit-content;
    background: #c4529a;    
}

/* Cambiar Color de Botones Dokan ,.dokan-btn*/
.dokan-btn-theme,a.dokan-btn-theme{
    background-color: #c4529a;
    color: #ffff;
    border-color: unset;
}
.dokan-btn-theme:hover,a.dokan-btn-theme:hover{
    background-color: #60c3d5;
    color: #ffff;
    border-color: unset;
}
input[type='submit'].dokan-btn-theme{
    background-color: #c4529a;
    border-color: unset;
}
input[type='submit'].dokan-btn-theme:hover{
    background-color: #60c3d5;
    border-color: unset;
}
input[type='submit'].dokan-btn:hover,a.dokan-btn:hover,.dokan-btn:hover{
    background-color: #60c3d5;
    border-color: unset;
    color: #ffff;
}
input[type='submit'].dokan-btn-theme:active, a.dokan-btn-theme:active, .dokan-btn-theme:active, input[type='submit'].dokan-btn-theme.active, a.dokan-btn-theme.active, .dokan-btn-theme.active{
    background-color: #60c3d5;
    color: #ffff;
    border-color: unset;
}
input[type='submit'].button{
    color: #ffff;
}
input[type='submit'].dokan-btn:focus, a.dokan-btn:focus, .dokan-btn:focus, input[type='submit'].dokan-btn.focus, a.dokan-btn.focus, .dokan-btn.focus{
    background-color: #60c3d5;
    color: #ffff;
    border-color: unset;
}
input[type='submit'].dokan-btn-theme:focus, a.dokan-btn-theme:focus, .dokan-btn-theme:focus{
    background-color: #60c3d5;
    color: #ffff;
    border-color: unset;
}
/*input[type='submit'].dokan-btn-default, a.dokan-btn-default, .dokan-btn-default{

}*/

/* Cambiar Fondo de la Barra Lateral */
.dokan-dashboard .dokan-dash-sidebar{
    background: #1f2449;    
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu {
    background: #1f2449;    
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
    background: #c4529a;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {
    background: #c4529a;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:hover{
    background: #c4529a;
}

/* Quitar Color de Fondo en los campos de formularios */
input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
    background: none;
}

/* Agregar Padding a la Derecha en el Panel de Contenido */
.dokan-dashboard .dokan-dashboard-content {
    padding: 0 25px 0 25px;
}

/*  */
.dokan-announcement-wrapper .dokan-announcement-wrapper-item .dokan-annnouncement-date {
    width: 105px;
    height: 105px;
    background-color: #c4529a;
}

/* Corregir tamaño Gráficos de Analíticas */
.dokan-dashboard .dokan-right{
    max-width: 70%;
}

/* Corregir Color Fondo de Filas en Tabla de Productos */
.dokan-table > tbody > tr.danger > th, .dokan-table > tbody > tr.danger > td{
    background-color: #ffedf7 !important;
}

/* Corregir Margen Tabs de Analíticas */
.dokan-dashboard-content ul.dokan_tabs{
    margin-left: 0px;
}

/* Color de Texto Botones Pedidos*/
input[type="submit"],html input[type="button"] {
    color: #ffffff;
}

/**
* DOKAN PRODUCTOS *
**/

/* Corregir Tamaño de Fuente en el Campo Estado al Editar un Producto */
#estado,#dokan_rma_product_override,#warranty_length_value{
    font-size: unset;
    margin-left: 5px;
}

@media only screen and (max-width: 450px){
    /* Corregir Color de Menú Dashboard Móvil */
    .dokan-dashboard .dokan-dash-sidebar #dokan-navigation {
        background: #1f2449;
    }
    /* Agregar Padding al Contenido de las Pestañas en el Dashboard*/
    .dokan-dashboard .dokan-dashboard-content {
        /*padding: 15px 25px 15px 25px;*/
        padding: 10px 8px 10px 8px;
    }
    .dokan-dashboard .dokan-dash-sidebar, .dokan-dashboard .dokan-dashboard-content {
        padding: 14px;
    }
    /* Agregar Bordes Faltantes en la Tabla de Productos Móvil */
    td, th {
        padding: 8px;
        border-width: 1px 1px 1px 1px;
    }
    /* Corregir Icono Colapsable en la Tabla de Productos Móvil */
    table.dokan-table .toggle-row::before {
        font-family: "Font Awesome\ 5 Free";
        font-weight: 900;
    }
    /* Corregir Ancho de la Tabla de Productos Móvil */
    .dokan-dashboard .dokan-dashboard-content .dokan-table {
        display: table;
    }
    /* Corregir Espacios en Filtros */
    .dokan-dashboard .dokan-product-listing .dokan-product-listing-area .dokan-product-search-form {
        margin-top: 8px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    .dokan-product-listing .dokan-product-listing-area .product-listing-top {
        line-height: 22px;
        margin-bottom: 8px;
    }
    .dokan-dashboard .dokan-product-listing .dokan-product-listing-area #product-filter .dokan-form-group {
        margin-top: 8px;
    }
    /* Corregir Espacios entre Opciones de Productos */
    table.dokan-table .row-actions {
        display: block;
    }
    /* Corregir tamaño de Fuente */
    body{
        font-size: 15px;
    }
    .dokan-product-listing .dokan-product-listing-area table.product-listing-table td.post-date {
        font-size: 15px;
    }
    .dokan-table tbody tr td {
        border-width: 1px 1px 1px 1px;
    }
    /* Corregir Espacios en Dropdown de Búsqueda */
    .select2-container--open .select2-dropdown--below {
        margin-top: 44px !important;
    }
}

/* Cambiar Color Borde Campos de Textos Inputs */
input:focus, input[type="text"]:focus{    
    outline-color: #1f2449;
}

/* Corregir Altura en Campos de Selección */
select.dokan-form-control {
    height: 35px !important;
}
input[type=text].dokan-form-control{
    height: 34px;
}

/* Corregir Espacios e Icono en Dropdown de Búsqueda */
/**/.select2-container .select2-dropdown .select2-search__field{
    min-width: 210px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    display: none;
}

/* Corregir Posición de Admin-bar en Popup de Productos */
@media screen and (max-width: 600px){
    #wpadminbar {
        position: fixed;
    }
}


/**
* POPUP FORMULARIO PRODUCTOS *
**/

/* Ocultar Campos de Garantía en Formulario Popup */
.product-full-container > div:nth-of-type(4), .product-full-container > div:nth-of-type(5) {
    display:none;
}

/* Ocultar Botón Crear y Añadir Nuevo Producto */
#dokan-create-and-add-new-product-btn {
    display: none;
}


/**
* PEDIDOS *
**/

/* Ocultar Botones de Acciones en Página de Pedidos */
#order-filter > table > tbody > tr > td.dokan-order-action > a[data-original-title="Finalizado"] {
    display: none;
}

#order-filter > table > tbody > tr > td.dokan-order-action > a[data-original-title="Pagado e Processando"] {
    display: none;
}
/* Reducir Ancho de la Columna Acciones */
#order-filter > table > thead > tr > th:nth-child(8) {
    width: 10%;
}

/* Corregir Color de Botón Cerrar en Formulario para Datos de Rastreo */
#dokan-cancel-tracking-note {
    color: white;
}


/**
* ANALÍTICAS *
**/
@media only screen and (max-width: 450px){
    .dokan-dashboard .dokan-right {
        max-width: 100%;
    }
}

/**
 * SOPORTE
**/ 
#content div.dokan-dashboard-content.dokan-support-listing.dokan-support-topic-wrapper > div.dokan-panel.dokan-panel-default.dokan-dss-panel-default{
    padding: 18px;
}

/**
* POPUP DE SOPORTE *
**/
#dokan-support-form > div:nth-child(2) > select.dokan-form-control{
    height: 42px !important;
}

/**
* PÁGINA DEL VENDEDOR
**/
/* Corregir Estilos de Reviews */
#dokan-store-review-single > li > div{
    display: flex;
    gap: 40px;
    justify-content: space-around;
}

ol#dokan-store-review-single{
    margin-top: 18px;
}

#dokan-store-review-single > li > div > div.dokan-review-author-img > img {
    height: 80px;
    width: 80px;
    border-radius: 5px;
}

/* Ajustar Ancho del Comentario */
#dokan-store-review-single > li > div > div.comment-text {
    width: 88%;
}
.comment-text > p {
    margin-bottom: 6px;    
}



/**
* WOOCOMMERCE *
**/

/* Centrar Estrellas de Productos en Elementor */
.woocommerce ul.products li.product .star-rating{
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Aplicar Borde Redondeado al Slide */
.elementor-element .elementor-swiper{
    overflow: hidden;
    border-radius: 10px;
}

/* Corregir Posición de Menú Móvil */
#menu-mobile > div > nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    z-index: 999;
    position: fixed;
    margin-top: 36px;
        margin-left: -55px;
}

/* Agregar Margen al Botón del Carrito Popup */
div.elementor-menu-cart__close-button{
    margin-top: 15px;
}

/* Corregir Margen de Productos del Carrito Popup */
.elementor-menu-cart__product .variation {
    margin: 0px 0;
}

/* Agregar Border-Radius General a las Imágenes */
.woocommerce ul.products li.product a img, .woocommerce div.product div.images img, div > figure > div.woocommerce-product-gallery__image.flex-active-slide{
    border-radius: 5px;
}

/* Redondear Botones de Páginación Woocommerce */
.woocommerce-pagination ul.page-numbers li{
    border-radius: 5px;
}

/* Centrar Contenido Grilla de Productos Astra */
div.astra-shop-summary-wrap{
    text-align: center;
}

/* Corregir Profundidad de Puntos en Slide Home */
#content div.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets{
    z-index: 1;
}

/* Corregir Tamaño de Imágenes en Flex-Viewport de Woocommerce */
.woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport {
    max-height: 500px;
}

/* Corregir Color de Texto en Botón de Registro Deshabilitado */
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled]{
    color: #ffffff;
}

/* Ocultar Botón de Soporte en Página de Producto para Usuarios no Logueados */
button.dokan-store-support-btn-product.user_logged_out {
    display: none;
}

/* Corregir Altura en Formulario de Soporte de Dokan */
select.dokan-form-control {
    height: 42px;
}

#dokan-seller-listing-wrap > div > ul > li > div.store-wrapper{
    border: solid 2px #ac4272;
    border-radius: 5px;
    overflow: hidden;
}

/* Ocultar Estrellas de Reviews en Grilla de Productos */
ul.products li.product .star-rating {
    display: none;
}

/* Corregir Espacio en Nombres de Productos */
ul.products li.product h2{
    min-width: 150px;
}

/**
* GRILLA DE PRODUCTOS
**/
.woocommerce ul.products li.product a img {
    /*min-height: 270px;*/
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Centrar Botones de Paginación en Grilla de Productos */
.woocommerce-pagination {
    /* border-top: 1px solid #eeeeee; */
    /* padding: 5px 5px 5px 5px; */
    display: flex;
    /* align-items: center; */
    justify-content: space-around;
}


/**
* PÁGINA DE PRODUCTO *
**/

/* Ocultar Campo de Garantía de Dokan */
.warranty_info {
    display: none;
}

/* Corregir Posición de Mensaje Ver Carrito Ajax */
form[method='post'] > a.added_to_cart {
    position: absolute;
    margin-top: 5%;
    margin-left: 168px;
}
@media screen and (max-width: 769px) {
    form[method='post'] > a.added_to_cart {
        margin-top: 13%;
    }
}

/* Corregir Botón en Popup de Reporte */
button#dokan-report-abuse-form-submit-btn {
    width: auto;
}

/**
* MI CUENTA *
**/
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}


/*
* MI CUENTA - DOKAN *
*/

/* Corregir Dropdown al Solicitar Garantía */
[method] .warranty-form-row:nth-child(2) > select#type {
    padding: 0px;
    padding-left: 8px;
}


/* Corregir Checkbox al Solicitar Garantía en Móvil  */    
@media only screen and (max-width: 921px) {
    .woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {
    /*    display: none; */
    }
    .dokan-rma-order-item-table > tbody > tr > th {
        display: flex !important;
    }
}


/**
Woccommerce
**/

@media (min-width: 1201px) {
    .ast-separate-container .ast-woocommerce-container {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

#media-frame-title {
		width: 100%;
    padding: 0px;
}




/* -------------------------------------------------------------------------- */
/*                             CartPops - MiniCart                            */
/* -------------------------------------------------------------------------- */


/* Ocultar Recomendaciones de Productos en MiniCart Mobile en CartPops  */
@media only screen and (max-width: 544px){ /* 450 */ 
    .cpops-drawer-recommendations {
        display: none;
    }
}

/* Ocultar Cupón en MiniCart Mobile en CartPops  */
.cpops-drawer-coupon {
    display: none;
}