/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.5.1.1791517429
Updated: 2026-10-09 03:43:49

*/

/* Selecciona el aviso de éxito de WooCommerce */
.woocommerce-notices-wrapper, 
.woocommerce-message {
  position: fixed !important;
  top: 90px !important; /* Ajusta este valor según la altura de tu header (ej. 80px o 100px) */
  left: 20px !important;
  z-index: 100000 !important; /* Asegura que esté por encima del header flotante */
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.wei-ingredients-list
{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* ======================================================
   FLOATING CART MODERN (Hello Elementor) - PALETA #7F6C5B
   ====================================================== */

/* Botón flotante */
.fc-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #7F6C5B;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(127,108,91,0.3);
    transition: all 0.3s ease;
}
.fc-toggle:hover {
    transform: scale(1.08);
    background: #685749;
}
.fc-icon svg {
    fill: currentColor;
}
.fc-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #5A4D41; /* Un tono más oscuro de tu paleta para que contraste bien */
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 6px rgba(90,77,65,0.4);
}

/* Sidebar */
.fc-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 90%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    box-shadow: -6px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.25,0.8,0.25,1);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.fc-sidebar.open {
    right: 0;
}

/* Overlay */
.fc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.fc-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Header */
.fc-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #faf8f5;
}
.fc-title {
    font-size: 20px;
    font-weight: 600;
    color: #7F6C5B;
}
.fc-close {
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}
.fc-close:hover {
    color: #7F6C5B;
}

/* Body - Mini Cart */
.fc-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}
.fc-body .widget_shopping_cart_content {
    padding-top: 10px;
}
.fc-body .woocommerce-mini-cart {
    margin: 0;
    padding: 0;
    list-style: none;
}
.fc-body .woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
    position: relative;
}
.fc-body .woocommerce-mini-cart-item:last-child {
    border-bottom: none;
}
.fc-body .woocommerce-mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    flex-shrink: 0;
}
.fc-body .woocommerce-mini-cart-item .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fc-body .woocommerce-mini-cart-item .product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.3;
    margin: 0;
}
.fc-body .woocommerce-mini-cart-item .product-name a {
    color: inherit;
    text-decoration: none;
}
.fc-body .woocommerce-mini-cart-item .product-name a:hover {
    color: #7F6C5B;
}
.fc-body .woocommerce-mini-cart-item .quantity {
    font-size: 13px;
    color: #777;
}
.fc-body .woocommerce-mini-cart-item .quantity .amount {
    font-weight: 600;
    color: #7F6C5B;
}
.fc-body .woocommerce-mini-cart-item .remove {
    color: #a98d75;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    padding: 0 5px;
    transition: color 0.2s;
    flex-shrink: 0;
}
.fc-body .woocommerce-mini-cart-item .remove:hover {
    color: #7F6C5B;
}
.fc-body .woocommerce-mini-cart__total {
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    border-top: 2px solid #eaeaea;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    color: #333333;
}
.fc-body .woocommerce-mini-cart__total strong {
    font-weight: 600;
    color: #7F6C5B;
}
.fc-body .woocommerce-mini-cart__empty {
    text-align: center;
    padding: 50px 0;
    color: #999;
    font-size: 16px;
}
.fc-body .woocommerce-mini-cart__empty::before {
    content: "🛒";
    display: block;
    font-size: 40px;
    margin-bottom: 15px;
}

/* Footer */
.fc-footer {
    padding: 15px 25px 25px;
    border-top: 1px solid #eee;
    background: #faf8f5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fc-footer .button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    font-size: 15px;
}
.fc-footer .fc-view-cart {
    background: #f0ece6;
    color: #7F6C5B;
}
.fc-footer .fc-view-cart:hover {
    background: #e4ddd4;
}
.fc-footer .fc-checkout {
    background: #7F6C5B;
    color: #fff;
}
.fc-footer .fc-checkout:hover {
    background: #685749;
}

/* Responsive */
@media (max-width: 500px) {
    .fc-toggle {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .fc-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    .fc-sidebar.open {
        right: 0;
    }
    .fc-body .woocommerce-mini-cart-item img {
        width: 50px;
        height: 50px;
    }
}

/* Estructura mejorada para cada producto en el mini-cart */
.fc-item-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.fc-item-wrapper:last-child {
    border-bottom: none;
}
.fc-item-image {
    flex: 0 0 50px;
}
.fc-item-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}
.fc-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fc-item-name {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 2px;
}
.fc-item-name a {
    color: #333;
    text-decoration: none;
}
.fc-item-name a:hover {
    color: #7F6C5B;
}
.fc-item-quantity-price {
    font-size: 13px;
    color: #555;
}
.fc-item-quantity-price .quantity {
    display: inline-block;
}

/* Botón eliminar (×) */
.fc-item-wrapper .remove {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 18px;
    color: #a98d75;
    text-decoration: none;
    line-height: 1;
    padding: 4px;
}
.fc-item-wrapper .remove:hover {
    color: #7F6C5B;
}

/* Ajustes del subtotal y botones */
.woocommerce-mini-cart__total {
    font-size: 16px;
    padding: 12px 0;
    border-top: 2px solid #eee;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 0;
}
.woocommerce-mini-cart__buttons .button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}
.woocommerce-mini-cart__buttons .wc-forward {
    background: #f0ece6;
    color: #7F6C5B;
}
.woocommerce-mini-cart__buttons .wc-forward:hover {
    background: #e4ddd4;
}
.woocommerce-mini-cart__buttons .checkout {
    background: #7F6C5B;
    color: #fff;
}
.woocommerce-mini-cart__buttons .checkout:hover {
    background: #685749;
}