body.ce-kit-4{color:#54595F;font-family:"Poppins", sans-serif;font-size:14px;}body.ce-kit-4 p{margin-bottom:10px;}a, .elementor a{color:#E31E24;}a:hover, .elementor a:hover{color:#61CE70;}body.ce-kit-4 h1{font-family:"Poppins", sans-serif;font-size:3em;font-weight:bold;}body.ce-kit-4 h2{color:#E31E24;font-family:"Poppins", sans-serif;font-size:2.5em;font-weight:bold;}body.ce-kit-4 h3{color:#020101;font-family:"Poppins", sans-serif;font-size:2em;font-weight:bold;}body.ce-kit-4 h4{color:#E31E24;font-family:"Poppins", sans-serif;font-size:1.7em;font-weight:bold;}body.ce-kit-4 h5{font-family:"Poppins", sans-serif;font-size:1.5em;font-weight:bold;}body.ce-kit-4 h6{color:#E31E24;font-family:"Poppins", sans-serif;font-size:1.3em;font-weight:bold;}body.ce-kit-4 .ce-display-xxl{color:#E31E24;font-family:"Poppins", sans-serif;}.elementor-button{--ce-btn-bg-color:#E31E24;background-color:var(--ce-btn-bg-color);}.elementor-button-primary .elementor-button, .elementor-button-primary a.elementor-button:not(#e){color:#FFFFFF;}.elementor-button-primary .elementor-button{--ce-btn-bg-color:#E31E24;background-color:var(--ce-btn-bg-color);}.elementor-button-primary .elementor-button:hover, .elementor-button-primary .elementor-button:focus, .elementor-button-primary a.elementor-button:not(#e):hover, .elementor-button-primary a.elementor-button:not(#e):focus{color:#FFFFFF;}.elementor-button-primary .elementor-button:hover, .elementor-button-primary .elementor-button:focus{--ce-btn-bg-color:#61CE70;}.btn-primary{background-color:#E31E24;border-style:none;}/* Start custom CSS for page-settings */a.btn.btn-primary {
    color: #ffffff;
}


/* MEGAMENÚ*/
.menudragon .mm_menus_li {
    border: none;
}

.menudragon .ets_mm_megamenu_content {
    border: none;
}

.menudragon span.mm_menu_content_title {
    padding: 0 8px;
    min-height: 40px !important;
}

.menudragon ul.mm_columns_ul {
    border: none;
}

.menudragon .mm_menus_li:nth-child(2),
.menudragon .mm_menus_li,
.menudragon .mm_menus_li:last-child {
    border: none !important;
}

.mm_menu_content_title i {
    margin-right: 7px;
    margin-left: 0px;
}
.menudragon .ets_mm_megamenu_content {
    background: #000000 !important;
}

.menudragon .ets_mm_megamenu_content {
    border-bottom: none !important;
    border-top: none !important;
}

.menudragon span.mm_menu_content_title {
    font-weight: normal;
}

.imagenmenus img {
    width: 100%;
}

.ets_mm_block_content ul li a::before {
  content: none !important;
}


body#category h1.page-title-section {
    text-align: center;
    color: #E31E24;
}

.menudragon a.ets_mm_url {
    border-radius: 10px 10px 0px 0px;
}

.menudragon:not(.click_open_submenu) .mm_menus_li:hover > a:before {
    background: none !important;
}
.menudragon ul.mm_columns_ul {
    border-radius: 0px 10px 10px 10px;
}

li.botpedidorapido a {
    color: #E31E24 !important;
}
li.botpedidorapido span.mm_menu_content_title {
    font-weight: bold !important;
}

@media (max-width: 768px) {
.menudragon .ybc-menu-toggle.ybc-menu-btn.closed {
    font-size: 7px;
    text-align: left;
    line-height: 9px;
}

.menudragon .ybc-menu-toggle.ybc-menu-btn.closed {
    background: #000;
    color: #fff;
    padding: 0px;
    padding-left: 6px;
}

.menudragon span.ybc-menu-button-toggle_icon {
    min-width: 100%;
    margin-right: 0px;
}

.menudragon i.icon-bar {
    background-color: #ffffff !important;
}

.ets_mm_megamenu.hook-custom {
    margin-top: 8px !important;
}
.menudragon li.mm_blocks_li {
    margin-bottom: 0px;
}
}

@media (min-width: 992px) {
    .layout-full-width #cuatroenuna {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (min-width: 360px) {
    .layout-full-width #cuatroenuna {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/*CATEGORÍAS*/
a.product-miniature__title {
    font-size: 1.2em;
    text-align: center;
}

.product-miniature__prices {
    margin: 0 auto;
}

.product-miniature__actions {
    margin: 0 auto;
}
.product-miniature__inner {
    border: thin solid #e5e5e5;
    border-radius: 10px;
}
.product-miniature__infos {
    min-height: 80px;
}


/* Ocultar bloques de Empresa, IVA, Alias, DNI y Ciudad */
.mb-3:has(#field-company), 
.form-group:has(#field-company),
.mb-3:has(#field-vat_number), 
.form-group:has(#field-vat_number),
.mb-3:has(#field-alias), 
.form-group:has(#field-alias),
.mb-3:has(#field-dni), 
.form-group:has(#field-dni),
.mb-3:has(#field-city), 
.form-group:has(#field-city),
#field-alias, 
label[for="field-alias"] {
    display: none !important;
}


/* ======================================================
   PEDIDO RÁPIDO - DRAGON ORIENTAL
====================================================== */

/* ======================================================
   CONTENEDORES
====================================================== */

body#module-quickproducttable-fmmquick .columns-container.container,
body#module-quickproducttable-fmmquick .container {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

body#module-quickproducttable-fmmquick .product_details,
body#module-quickproducttable-fmmquick .product_details .table_body,
body#module-quickproducttable-fmmquick .product_details .prouct_table {
    width: 100% !important;
    max-width: 100% !important;
}

/* ======================================================
   LIMPIEZA GENERAL
====================================================== */

body#module-quickproducttable-fmmquick .title_tabs nav,
body#module-quickproducttable-fmmquick i.material-icons.srcicon,
body#module-quickproducttable-fmmquick td.sorting_1,
body#module-quickproducttable-fmmquick th.head_col.sorting_asc {
    display: none !important;
}

/* ======================================================
   TABLA
====================================================== */

body#module-quickproducttable-fmmquick table#fmm_table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate;
    border-spacing: 0 14px;
    padding-top: 20px;
}

/* ======================================================
   CABECERA
====================================================== */

body#module-quickproducttable-fmmquick table#fmm_table thead th {
    background: #f3f3f3;
    border: none !important;
    padding: 16px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

/* ======================================================
   FILAS
====================================================== */

body#module-quickproducttable-fmmquick table#fmm_table tbody tr {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border-radius: 16px;
    transition: .2s ease;
}

body#module-quickproducttable-fmmquick table#fmm_table tbody tr:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

/* ======================================================
   CELDAS
====================================================== */

body#module-quickproducttable-fmmquick table#fmm_table td {
    border: none !important;
    padding: 16px 12px;
    vertical-align: middle;
}

/* ======================================================
   COLUMNAS PC
====================================================== */

/* Imagen */

body#module-quickproducttable-fmmquick table#fmm_table th:nth-child(2),
body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(2) {
    width: 8% !important;
}

/* Nombre */

body#module-quickproducttable-fmmquick table#fmm_table th:nth-child(3),
body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(3) {
    width: 54% !important;
}

/* Precio */

body#module-quickproducttable-fmmquick table#fmm_table th:nth-child(4),
body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(4) {
    width: 12% !important;
    text-align: center !important;
}

/* Cantidad */

body#module-quickproducttable-fmmquick table#fmm_table th:nth-child(5),
body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(5) {
    width: 12% !important;
    text-align: center !important;
}

/* Botón */

body#module-quickproducttable-fmmquick table#fmm_table th:nth-child(6),
body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(6) {
    width: 14% !important;
    text-align: center !important;
}

/* ======================================================
   OCULTAR CHECKBOX FINAL
====================================================== */

body#module-quickproducttable-fmmquick table#fmm_table th:nth-child(7),
body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(7),
body#module-quickproducttable-fmmquick table#fmm_table col:nth-child(7),
body#module-quickproducttable-fmmquick table#fmm_table input[type="checkbox"] {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ======================================================
   IMAGEN
====================================================== */

body#module-quickproducttable-fmmquick table tr td img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #eee;
    display: block;
}

/* ======================================================
   NOMBRE PRODUCTO
====================================================== */

body#module-quickproducttable-fmmquick h4.product-title {
    font-size: 17px !important;
    line-height: 22px !important;
    font-weight: 600;
    margin: 0;
}

body#module-quickproducttable-fmmquick h4.product-title a {
    color: #222 !important;
    text-decoration: none;
}

body#module-quickproducttable-fmmquick h4.product-title a:hover {
    color: #E31E24 !important;
}

/* ======================================================
   PRECIO
====================================================== */

body#module-quickproducttable-fmmquick td:nth-child(4) {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
}

/* ======================================================
   CANTIDAD
====================================================== */

body#module-quickproducttable-fmmquick div#number {
    background: #f5f5f5;
    border-radius: 40px;
    padding: 6px 10px !important;
    width: fit-content !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ======================================================
   BOTÓN AÑADIR
====================================================== */

body#module-quickproducttable-fmmquick button.add-to-cart-btn,
body#module-quickproducttable-fmmquick button.btn.btn-primaryy {
    background-color: #E31E24 !important;
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding: 10px 18px !important;
    font-weight: 600;
    transition: .2s ease;
    box-shadow: none !important;
}

body#module-quickproducttable-fmmquick button.add-to-cart-btn:hover,
body#module-quickproducttable-fmmquick button.btn.btn-primaryy:hover {
    background: #b50000 !important;
    transform: scale(1.03);
}

/* ======================================================
   FILTROS
====================================================== */

body#module-quickproducttable-fmmquick select {
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
    padding: 10px 14px !important;
    min-width: 220px;
    background: #fff;
}

/* ======================================================
   RESPONSIVE MÓVIL
====================================================== */

@media (max-width: 767px) {

    body#module-quickproducttable-fmmquick .section_padding {
        padding: 0 !important;
    }

    body#module-quickproducttable-fmmquick table#fmm_table,
    body#module-quickproducttable-fmmquick table#fmm_table tbody {
        display: block;
        width: 100% !important;
    }

    body#module-quickproducttable-fmmquick table#fmm_table thead {
        display: none !important;
    }

    body#module-quickproducttable-fmmquick table#fmm_table tbody tr {
        display: grid !important;
        grid-template-columns: 76px 1fr !important;
        grid-template-areas:
            "img name"
            "img price"
            "qty btn";
        gap: 10px 14px;
        width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 14px !important;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 3px 14px rgba(0,0,0,.06);
        overflow: visible !important;
    }

    body#module-quickproducttable-fmmquick table#fmm_table td {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        border: none !important;
    }

    /* OCULTAR ID Y CHECK */

    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(1),
    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(7),
    body#module-quickproducttable-fmmquick table#fmm_table th:nth-child(7),
    body#module-quickproducttable-fmmquick table#fmm_table input[type="checkbox"] {
        display: none !important;
    }

    /* IMAGEN */

    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(2) {
        grid-area: img;
        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
        overflow: visible !important;
        display: flex !important;
        align-items: flex-start;
        justify-content: center;
    }

    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(2) img {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 12px !important;
        display: block !important;
    }

    /* NOMBRE */

    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(3) {
        grid-area: name;
        align-self: center;
        width: 100% !important;
        max-width: 100% !important;
    }

    body#module-quickproducttable-fmmquick .body_col,
    body#module-quickproducttable-fmmquick .product-options,
    body#module-quickproducttable-fmmquick h4.product-title {
        width: 100% !important;
        max-width: 100% !important;
    }

    body#module-quickproducttable-fmmquick h4.product-title {
        font-size: 15px !important;
        line-height: 20px !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }

    /* PRECIO */

    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(4) {
        grid-area: price;
        font-size: 18px !important;
        font-weight: 800 !important;
        color: #111 !important;
    }

    /* CANTIDAD */

    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(5) {
        grid-area: qty;
        align-self: center;
    }

    body#module-quickproducttable-fmmquick div#number {
        margin: 0 !important;
        width: fit-content !important;
        padding: 5px 8px !important;
        border-radius: 30px !important;
        background: #f5f5f5 !important;
    }

    /* BOTÓN */

    body#module-quickproducttable-fmmquick table#fmm_table td:nth-child(6) {
        grid-area: btn;
        text-align: right;
        align-self: center;
    }

    body#module-quickproducttable-fmmquick button.add-to-cart-btn,
    body#module-quickproducttable-fmmquick button.btn.btn-primaryy {
        min-width: 90px;
        width: auto !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

}


/* ======================================================
   OCULTAR SELECT Y LABEL ORIGINALES
====================================================== */

body#module-quickproducttable-fmmquick .filter_body.ce-kit-4 > label.secondary_Title,
body#module-quickproducttable-fmmquick .filter_body.ce-kit-4 > .select_wrapperper {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ======================================================
   BOTONES
====================================================== */

body#module-quickproducttable-fmmquick .category-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 25px !important;
    width: 100%;
}

body#module-quickproducttable-fmmquick .category-buttons button {
    border: none !important;
    background: #f3f3f3 !important;
    color: #333 !important;
    padding: 10px 18px !important;
    border-radius: 40px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: .2s ease !important;
    white-space: nowrap;
}

body#module-quickproducttable-fmmquick .category-buttons button:hover,
body#module-quickproducttable-fmmquick .category-buttons button.active {
    background: #E31E24 !important;
    color: #fff !important;
}

/* ======================================================
   MÓVIL
====================================================== */

@media (max-width: 767px) {

    body#module-quickproducttable-fmmquick .category-buttons {
        gap: 8px;
    }

    body#module-quickproducttable-fmmquick .category-buttons button {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

}

body#module-quickproducttable-fmmquick label.secondary_Title { display: none; }

body#module-quickproducttable-fmmquick .select_wrapper { display: none; }


body#module-quickproducttable-fmmquick nav.breadcrumb__wrapper {
    display: none;
}

body#order-confirmation section.ps-featuredproducts {
    display: none !important;
}

aside.account-menu a {
    color: #606060;
}

body#cart .imc-feature-images.imc-feature-images--listing {
    display: none !important;
}


img.product-miniature__image {
    width: 100%;
    height: 200px !important;
    object-fit: cover; 
    object-position: center; 
}


/* 1. Estado normal del botón */
.btn-outline-primary {
    color: #e31e24 !important;
    background-color: transparent !important;
    border-color: #e31e24 !important;
    background-image: none !important;
}

/* 2. Al pasar el ratón por encima (Hover) y al hacer foco */
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible {
    color: #fff !important;
    background-color: #e31e24 !important;
    border-color: #e31e24 !important;
    box-shadow: 0 0 0 0.25rem rgba(11, 105, 246, 0.5) !important;
}

/* 3. Al hacer clic (Activo) */
.btn-outline-primary:active, 
.btn-outline-primary.active {
    color: #fff !important;
    background-color: #ec4249 !important;
    border-color: #e31e24 !important;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) !important;
}

/* 4. Si el botón está desactivado */
.btn-outline-primary:disabled, 
.btn-outline-primary.disabled {
    color: #e31e24 !important;
    background-color: transparent !important;
    border-color: #e31e24 !important;
}

a.elementor-button.elementor-button--cart.elementor-size-md {
    background: grey !important;
}


.my-2.form-check {
    background: #e9e9e9 !important;
    padding: 10px !important;
    border-radius: 10px !important;
    padding-left: 32px !important;
}


a#order-slips_link {
    display: none !important;
}

a#order_slips_main_link {
    display: none !important;
}

section.page-content--customer a#discounts-link {
    background: #F8F9FA;
    min-width: 100%;
    padding: 20px !important;
    border-radius: 10px !important;
}/* End custom CSS */