/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:    hello-elementor-child
 * 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.
 */

/* Estilos básicos */
.custom-thank-you-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilos de la página de agradecimiento */
.thank-you-banner {
    background-color: #f8f9fa;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.thank-you-banner h2 {
    color: #28a745;
    margin-bottom: 15px;
}

.order-summary {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-details {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.order-items {
    margin: 20px 0;
}

.order-items ul {
    list-style: none;
    padding: 0;
}

.order-items li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-totals {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

/* Reset de estilos para el menú */
.elementor-nav-menu--main {
    width: auto !important;
}

.elementor-nav-menu--main .elementor-nav-menu {
    display: flex !important;
    flex-direction: row !important;
}

/* Estilos para items del menú principal */
.elementor-nav-menu--main .elementor-nav-menu > li {
    position: relative !important;
    display: inline-block !important;
}
/* Reset de estilos y conflictos */
.elementor-nav-menu--main {
    position: relative !important;
    z-index: 999 !important;
}

/* Contenedor principal del menú */
.elementor-nav-menu--main .elementor-nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

/* Items del menú principal */
.elementor-nav-menu--main .elementor-nav-menu > li {
    position: relative !important;
}

/* Submenús */
.elementor-nav-menu--main .elementor-nav-menu > li > .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    padding: 10px 0 !important;
    margin-top: 0 !important;
    border-radius: 4px !important;
    z-index: 999999 !important;
    transition: none !important;
}

/* Forzar visibilidad del submenú */
.elementor-nav-menu--main .elementor-nav-menu > li:hover > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

/* Items del submenú */
.elementor-nav-menu--main .elementor-nav-menu .sub-menu .elementor-sub-item {
    padding: 8px 20px !important;
    line-height: 1.4 !important;
    transition: background 0.2s !important;
}

/* Prevenir conflictos con ShopLentor */
.elementor-widget:not(:last-child) {
    margin-bottom: 0 !important;
}

/* Asegurar que el menú esté por encima de otros elementos */
.elementor-location-header {
    position: relative !important;
    z-index: 99999 !important;
}