/* CUSTOM ELEMENTOR COMPONENTES */

/* Tipografia */

.elementor-heading-title,
.entry-title {
    color: var(--e-global-color-secondary);
}

/* Botões Elementor */

.elementor-button {
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: 0.5s;
}

.elementor-button:hover::before {
    width: 100%;
}

.elementor-button-info a::before {
    background: var(--e-global-color-accent);
}

.elementor-button-success a::before {
    background: var(--e-global-color-primary);
}

.elementor-button-warning a::before {
    background: var(--e-global-color-text);
}

.elementor-button-danger a::before {
    background: var(--e-global-color-secondary);
}


/* Elementor Correções */

span.elementor-icon-list-text {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    align-content: center;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 100px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 0;
}

ul.elementor-nav-menu--dropdown a,
ul.elementor-nav-menu--dropdown a:focus,
ul.elementor-nav-menu--dropdown a:hover {
    border-inline-start: 0px !important;
}

.elementor-widget-n-accordion .e-n-accordion-item-title {
    z-index: 1;
}

.elementor-nav-menu--dropdown .elementor-item:focus {
    background: transparent;
}

ul {
    margin-block-start: 0;
    margin-block-end: 0;
}

.entry-content ul,
.entry-content ol {
    margin-top: 0;
}

.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    margin-top: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}

span.elementor-button-text {
    display: flex;
    align-items: center;
}

.elementor-widget-off-canvas .e-off-canvas__overlay {
    --tw-backdrop-blur: blur(4px);
    background-color: transparent;
    backdrop-filter: var(--tw-backdrop-blur);
}

/* Funções Woocommerce */

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background: var(--e-global-color-primary);
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background: var(--e-global-color-accent);
}

/* Efeitos cards */

.bg-gradient-bottom-dark .elementor-cta__content {
    background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.7) 90%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

/* Responsive Modules */

body[data-elementor-device-mode="tablet"] {
    transition-duration: 0s;
    /* Disable transition on tablet */
}

body[data-elementor-device-mode="mobile"] {
    transition-duration: 0s;
    /* Disable transition on mobile */
}

.elementor-nav-menu--layout-horizontal .elementor-nav-menu>li {
    align-items: center;
}