﻿/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Prevent page "jump/tremble" when scrollbar appears/disappears between pages */
html {
    scrollbar-gutter: stable;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Fallback for browsers without scrollbar-gutter support */
body {
    overflow-y: scroll;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure public pages don't keep an admin-bar spacer above the header */
html:not(.wp-toolbar),
body:not(.admin-bar) {
    margin-top: 0 !important;
}

body:not(.admin-bar) .elementor-location-header {
    margin-top: 0 !important;
    top: 0 !important;
}

/* Keep header/menu visually stable during page load/navigation */
.elementor-location-header,
.elementor-location-header .elementor-nav-menu__container,
.elementor-location-header .elementor-nav-menu,
.elementor-location-header .elementor-menu-cart__toggle,
.elementor-location-header .elementor-menu-toggle {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hard-stop residual Elementor header flicker on first paint */
.elementor-location-header *,
.elementor-location-header *::before,
.elementor-location-header *::after {
    animation: none !important;
    transition-property: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    transform: none;
}

.elementor-location-header .elementor-nav-menu--main,
.elementor-location-header .elementor-nav-menu--main .elementor-item,
.elementor-location-header .elementor-nav-menu__container {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Stabilize the secondary header row (menu + icons) */
#nm-header-account {
    min-height: 86px;
}

#nm-header-account,
#nm-header-account * {
    animation: none !important;
    transition: none !important;
}

.myMenu .elementor-nav-menu--main.e--animation-fade,
.myMenu .elementor-nav-menu--main.e--animation-fade .elementor-item,
.myMenu .elementor-nav-menu--main.e--animation-fade .elementor-item::before,
.myMenu .elementor-nav-menu--main.e--animation-fade .elementor-item::after {
    animation: none !important;
    transition: none !important;
}

/* WOOF "Searching..." popup: hide intrusive center overlay */
div.woof_info_popup {
    display: none !important;
}

/* Header search loading state (WOOF): progress bar style */
#nm-text-filter .woof_container_inner {
    position: relative;
    overflow: visible;
}

#nm-text-filter .woof_husky_txt-input {
    padding-right: 34px;
}

#nm-text-filter .woof_husky_txt-loader {
    display: none !important;
}

#nm-text-filter.nm-searching .woof_husky_txt-input {
    border-color: rgba(45, 51, 142, 0.55) !important;
}

#nm-text-filter.nm-searching .woof_container_inner::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #2d338e 0%, #4250c7 100%);
    border-radius: 0;
    transform-origin: left center;
    transform: scaleX(0);
    animation: nm-search-fill 1.1s linear infinite !important;
    pointer-events: none;
    z-index: 3;
}

@keyframes nm-search-fill {
    0% { transform: scaleX(0); opacity: 0.7; }
    85% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 1; }
}

/* Header menu search: same visual language as "Lojas" search */
.nm-text-search-container .elementor-shortcode {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    border-bottom: 0 !important;
}

.nm-text-search-container .elementor-shortcode::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #2d338e;
    z-index: 1;
    display: none;
}

.nm-text-search-container .elementor-shortcode.nm-search-open::after {
    display: block;
}

#nm-woof-search-btn.nm-woof-search {
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0 6px 4px 0;
    border: 0;
    background: transparent;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#nm-woof-search-btn.nm-woof-search i {
    font-size: 28px;
    color: #2E3192;
}

#nm-text-filter {
    min-width: 260px;
    border-bottom: 0 !important;
}

#nm-text-filter .woof_container,
#nm-text-filter .woof_text_search_container {
    margin: 0 !important;
    padding: 0 !important;
}

#nm-text-filter .woof_husky_txt-input {
    border: 0 !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    outline: none !important;
    text-decoration: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    color: #2d338e;
    padding: 0 28px 6px 0 !important;
    min-height: 32px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

#nm-text-filter .woof_container_inner input[type="search"] {
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#nm-text-filter .woof_husky_txt-input::placeholder {
    text-transform: uppercase;
    color: #2d338e;
    opacity: 0.85;
}

#nm-text-filter .woof_husky_txt-input:focus {
    outline: none;
}

#nm-text-filter .woof_husky_txt-cross {
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: #2d338e;
}

/* WP Store Locator: hide "Sua localizaÃ§Ã£o" label above the search input */
#wpsl-search-wrap label[for="wpsl-search-input"] {
    display: none !important;
}

/* WP Store Locator: keep search icon aligned after hiding label */
#wpsl-search-wrap {
    position: relative;
}

#wpsl-search-wrap form {
    position: relative;
}

#wpsl-search-wrap .wpsl-input {
    position: relative;
    padding-left: 56px !important;
    border-bottom: 1px solid #9e9e9e;
}

#wpsl-search-wrap .wpsl-input::before {
    content: "" !important;
    position: absolute;
    left: 10px;
    bottom: 4px;
    width: 30px;
    height: 30px;
    background: url("/wp-content/uploads/2021/05/search.svg") no-repeat center center !important;
    background-size: 30px 30px !important;
    pointer-events: none;
    z-index: 2;
}

#wpsl-search-wrap .wpsl-search-btn-wrap {
    position: absolute !important;
    left: 10px;
    top: auto;
    bottom: 4px;
    transform: none;
    width: 32px;
    height: 32px;
    margin: 0 !important;
    z-index: 2;
    font-size: 0 !important;
    line-height: 0 !important;
}

#wpsl-search-wrap .wpsl-search-btn-wrap #wpsl-search-btn {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    opacity: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

#wpsl-search-wrap .wpsl-search-btn-wrap::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* Lojas page (mobile): hide cart icon in header */
@media (max-width: 1024px) {
    body.page-id-15280 .cart-icon-abs,
    body.page-id-15280 .elementor-menu-cart__toggle_wrapper,
    body.page-id-15280 .elementor-widget-woocommerce-menu-cart {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Header all breakpoints: hide cart + ? + account + heart icons */
@media (min-width: 0px) {
    .elementor-location-header .header-faq,
    .elementor-location-header .header-profile,
    .elementor-location-header .header-favourite,
    .elementor-location-header .elementor-element-5d0fb18,
    .elementor-location-header .elementor-element-d81efb9,
    .elementor-location-header .elementor-element-bf93676 {
        display: none !important;
        visibility: hidden !important;
    }

    body:not(.t2000-sales-representative) .elementor-location-header .header-cart {
        display: none !important;
        visibility: hidden !important;
    }

    body:not(.t2000-sales-representative) .elementor-location-header .nm-el-menu-cart,
    body:not(.t2000-sales-representative) .elementor-location-header .elementor-widget-woocommerce-menu-cart,
    body:not(.t2000-sales-representative) .elementor-location-header .elementor-menu-cart__toggle_wrapper,
    body:not(.t2000-sales-representative) .elementor-location-header .elementor-element-2981a8a {
        display: none !important;
        visibility: hidden !important;
    }

    body.t2000-sales-representative .elementor-location-header .header-cart {
        display: block !important;
        visibility: visible !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-bbabeb2 {
        display: none !important;
        visibility: hidden !important;
    }

    /* Sales rep header cart: show only Elementor mini-cart icon (widget 2981a8a) */
    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a > .elementor-widget-container {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-menu-cart__toggle_wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-menu-cart__toggle,
    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-button,
    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-button-icon {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        line-height: 1 !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-menu-cart__toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        height: 34px !important;
        transform: translateY(0) !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a {
        --toggle-button-icon-color: #2E3192 !important;
        --toggle-icon-size: 32px !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-button-icon,
    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-button-icon svg,
    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-button-icon svg path {
        color: #2E3192 !important;
        stroke: #2E3192 !important;
        opacity: 1 !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-button-icon-qty[data-counter] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 16px !important;
        height: 16px !important;
        padding: 0 4px !important;
        border-radius: 999px !important;
        background: #2E3192 !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        position: absolute !important;
        right: -5px !important;
        top: -4px !important;
        z-index: 3 !important;
    }

    body.t2000-sales-representative .elementor-location-header .elementor-element-2981a8a .elementor-button-icon-qty[data-counter="0"] {
        display: none !important;
    }

    /* After hiding right-side icons, let search column stretch and align right */
    .elementor-location-header .elementor-element-c38206a > .elementor-container {
        justify-content: flex-end !important;
    }

    .elementor-location-header .elementor-element-86742f2 {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .elementor-location-header .elementor-element-86742f2 .nm-text-search-container {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    /* Top menu (EMPRESA/LOJAS/CONTACTOS): keep white text + white active underline */
    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .elementor-item {
        color: #ffffff !important;
        position: relative;
    }

    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .elementor-item:hover,
    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .elementor-item:focus,
    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .elementor-item.elementor-item-active {
        color: #ffffff !important;
    }

    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .elementor-item.elementor-item-active::after,
    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .current-menu-item > .elementor-item::after,
    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .current_page_item > .elementor-item::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
        background: #ffffff;
    }
}

/* Align shortcode news container with first Elementor news block (32px from screen edge) */
.elementor-element-12e3fb7 {
    padding-left: 32px !important;
    padding-right: 32px !important;
}

/* Dynamic home news block (shortcode: [t2000_home_news]) */
.t2000-home-news {
    margin-top: 14px;
    position: relative;
    padding-top: 22px;
}

.t2000-home-news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 235px;
    height: 1px;
    background: #cfcfcf;
}

.t2000-home-news__title {
    margin: 0 0 18px;
    color: #2e3192;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1.1;
    text-transform: uppercase;
}

.t2000-home-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 24px;
}

.t2000-home-news__card {
    min-width: 0;
}

.t2000-home-news__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e6e6e6;
}

.t2000-home-news__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.t2000-home-news__thumb--empty {
    display: block;
    width: 100%;
    height: 100%;
    background: #e6e6e6;
}

.t2000-home-news__headline {
    margin: 10px 0 6px;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.t2000-home-news__headline a {
    color: #2e3192 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.t2000-home-news__headline a:hover {
    text-decoration: underline;
}

.t2000-home-news__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2e3192;
    text-decoration: none;
    font-size: 17px !important;
    line-height: 1 !important;
}

.t2000-home-news__more:hover span {
    text-decoration: underline;
}

.t2000-home-news__more svg {
    width: 16px;
    height: 13px;
    flex: 0 0 auto;
}

.t2000-home-news__empty {
    color: #666;
    font-size: 18px;
}

@media (max-width: 1024px) {
    .t2000-home-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 24px;
    }
}

@media (max-width: 767px) {
    .elementor-element-12e3fb7 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .t2000-home-news {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .t2000-home-news::before {
        left: 16px;
    }

    .t2000-home-news__title {
        font-size: 30px;
        font-weight: 500;
    }

    .t2000-home-news__grid {
        grid-template-columns: 1fr;
    }

    .t2000-home-news__headline {
        font-size: 20px;
        font-weight: 500;
    }

    .t2000-home-news__more {
        font-size: 17px;
    }
}

/* Homepage sections - mobile padding (Elementor overrides to 0 on mobile) */
@media (max-width: 767px) {
    .elementor-35595 .elementor-element.elementor-element-49c6583,
    .elementor-35595 .elementor-element.elementor-element-a73477b,
    .elementor-35595 .elementor-element.elementor-element-b75bb31,
    .elementor-35595 .elementor-element.elementor-element-6c3d0d5,
    .elementor-35595 .elementor-element.elementor-element-64dec2f {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Kill legacy icon/text injected by old rules */
#wpsl-search-wrap .wpsl-search-btn-wrap:before {
    content: none !important;
    display: none !important;
}

/* Top blue header language switcher (PT | EN) */
.elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .t2000-lang-switcher {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .t2000-lang-switcher .t2000-lang-link {
    color: #ffffff !important;
    padding: 0 4px !important;
    min-height: auto !important;
    line-height: inherit !important;
    text-transform: uppercase;
}

.elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .t2000-lang-switcher .t2000-lang-link:hover,
.elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .t2000-lang-switcher .t2000-lang-link:focus {
    color: #ffffff !important;
}

.elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .t2000-lang-switcher .t2000-lang-sep {
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    padding: 0 3px;
    font-size: inherit;
    line-height: 1;
}

@media (max-width: 1024px) {
    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .t2000-lang-switcher {
        margin-left: 8px;
        padding-left: 8px;
    }

    .elementor-location-header .elementor-element-11f7ff2 .elementor-nav-menu--main .t2000-lang-switcher .t2000-lang-link {
        padding: 0 3px !important;
    }
}

/* My Account > Edit Address: keep field labels/text visible (avoid "blank white lines") */
.woocommerce-account .woocommerce-MyAccount-content form.edit-account .form-row label {
    display: block !important;
    color: #7a849a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-bottom: 4px !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.edit-account input.input-text,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account textarea,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account select {
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.edit-account input::placeholder,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account textarea::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

.woocommerce-account .woocommerce-MyAccount-content form.edit-account .select2-selection__rendered,
.woocommerce-account .woocommerce-MyAccount-content form.edit-account .select2-results__option {
    color: #374151 !important;
}

/* My Account > Edit Account: match Edit Address underline field style */
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account input.input-text,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account textarea,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account select,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .select2-selection--single {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #d6d8de !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account input.input-text:focus,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account textarea:focus,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account select:focus,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .select2-selection--single:focus {
    border-bottom-color: #2E3192 !important;
    outline: none !important;
}

body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .select2-selection__rendered {
    padding-left: 0 !important;
}

body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .select2-selection__arrow {
    right: 0 !important;
}

/* My Account > Edit Account: match Edit Address button style */
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account input.button,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account button.button,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .woocommerce-Button {
    background-color: #2E3192 !important;
    border: 1px solid #2E3192 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-family: "Montserrat", Montserrat, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 10px 40px !important;
    border-radius: 40px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
}

body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account input.button:hover,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account button.button:hover,
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .woocommerce-Button:hover {
    background-color: #2E3192 !important;
    border-color: #2E3192 !important;
    color: #ffffff !important;
}

/* Edit Account: tidy up display name help text */
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .woocommerce-input-wrapper .description {
    display: block !important;
    position: static !important;
    margin: 6px 0 0 0 !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    background: #eef2ff !important;
    color: #2E3192 !important;
}

body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .woocommerce-input-wrapper .description::before {
    display: none !important;
}

/* My Account > Edit Account: required asterisk color */
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account .required {
    color: var(--wc-red, #a00) !important;
}

/* My Account > Edit Account: add spacing before the next section divider */
body.woocommerce-edit-account .woocommerce-MyAccount-content form.edit-account h2:not(:first-of-type) {
    margin-top: 32px !important;
}

/* My Account > Edit Address: match focus style with Edit Account */
body.woocommerce-edit-address .woocommerce-MyAccount-content form.edit-account input.input-text:focus,
body.woocommerce-edit-address .woocommerce-MyAccount-content form.edit-account textarea:focus,
body.woocommerce-edit-address .woocommerce-MyAccount-content form.edit-account select:focus,
body.woocommerce-edit-address .woocommerce-MyAccount-content form.edit-account .select2-selection--single:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    border-bottom-color: #2E3192 !important;
}

/* My Account > Edit Account: increase vertical spacing between fields */

/* My Account > Edit Account: match Edit Address title colors */
body.woocommerce-edit-account .woocommerce-MyAccount-content h1,
body.woocommerce-edit-account .woocommerce-MyAccount-content h2,
body.woocommerce-edit-account .woocommerce-MyAccount-content h3 {
    color: #2E3192 !important;
}

/* My Account > Edit Account: add separator line before section titles */
body.woocommerce-edit-account .woocommerce-MyAccount-content h2::before,
body.woocommerce-edit-account .woocommerce-MyAccount-content h3::before {
    content: "" !important;
    display: block !important;
    width: 235px !important;
    max-width: 70% !important;
    height: 1px !important;
    background: #d6d8de !important;
    margin: 0 0 14px 0 !important;
}

/* My Account > Edit Address: remove duplicated "Dados Pessoais" block at bottom */
body.woocommerce-edit-address .elementor-9703 > .elementor-section.dados-pessoais:last-of-type {
    display: none !important;
}

/* Merchandising product view (My Account): hide tabs/reviews/related products */
body.t2000-merch-product-view .woocommerce-tabs,
body.t2000-merch-product-view .woocommerce-product-tabs,
body.t2000-merch-product-view .elementor-widget-woocommerce-product-data-tabs,
body.t2000-merch-product-view .elementor-widget-wc-product-data-tabs,
body.t2000-merch-product-view .related,
body.t2000-merch-product-view .related.products,
body.t2000-merch-product-view .up-sells,
body.t2000-merch-product-view .upsells,
body.t2000-merch-product-view .upsells.products {
    display: none !important;
}

/* Merchandising product view: back link + add-to-cart fallback spacing */
body.t2000-merch-product-view .t2000-merch-back a,
body.woocommerce-view-order .t2000-merch-back a,
.t2000-my-open-tickets .t2000-merch-back a {
    color: #2E3192 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}

body.t2000-merch-product-view .t2000-merch-back a:hover,
body.t2000-merch-product-view .t2000-merch-back a:focus,
body.woocommerce-view-order .t2000-merch-back a:hover,
body.woocommerce-view-order .t2000-merch-back a:focus,
.t2000-my-open-tickets .t2000-merch-back a:hover,
.t2000-my-open-tickets .t2000-merch-back a:focus {
    text-decoration: none !important;
}

body.t2000-merch-product-view .t2000-merch-add-to-cart-fallback {
    margin-top: 24px !important;
}

/* Merchandising product view: ensure gallery/add-to-cart remain visible */
body.t2000-merch-product-view .woocommerce-product-gallery,
body.t2000-merch-product-view .woocommerce-product-gallery__wrapper {
    opacity: 1 !important;
}

body.t2000-merch-product-view form.cart .single_add_to_cart_button {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Merchandising product view: remove internal tag label */
body.t2000-merch-product-view .product_meta .tagged_as,
body.t2000-merch-product-view .woocommerce-product-meta__wrapper .tagged_as {
    display: none !important;
}

/* Merchandising product view: increase spacing between quantity and add-to-cart */
body.t2000-merch-product-view form.cart {
    gap: 18px !important;
}

body.t2000-merch-product-view form.cart .quantity {
    margin-right: 18px !important;
}

body.t2000-merch-product-view form.cart .single_add_to_cart_button,
body.t2000-merch-product-view form.cart button.single_add_to_cart_button {
    margin-top: 16px !important;
}

body.t2000-merch-product-view .e-atc-qty-button-holder {
    margin-bottom: 16px !important;
}

body.t2000-merch-product-view form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

body.t2000-merch-product-view form.cart > * + * {
    margin-top: 18px !important;
}

/* Cart: hide coupon + internal-sales notice when restricted items are present */
body.t2000-cart-internal-sales .redeem-coupon,
body.t2000-cart-internal-sales .woocommerce-form-coupon,
body.t2000-cart-internal-sales form.woocommerce-form-coupon,
body.t2000-cart-internal-sales .coupon {
    display: none !important;
}

/* My Account cart endpoint styling */
body.woocommerce-meu-carrinho .page-header {
    display: none !important;
}

body.woocommerce-meu-carrinho .page-content,
body.woocommerce-meu-carrinho .page-content > .elementor {
    display: block !important;
    visibility: visible !important;
}

body.woocommerce-meu-carrinho .elementor-9703 > .elementor-section.historico {
    margin-bottom: 42px;
}

body.woocommerce-meu-carrinho .elementor-9703 > .elementor-section.historico .elementor-widget-heading {
    margin-bottom: 10px;
}

body.woocommerce-meu-carrinho .elementor-9703 > .elementor-section.historico .elementor-widget-text-editor {
    margin-bottom: 0;
}

body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation {
    float: none;
    width: auto;
    background: #ffffff;
    border: 1px solid #e1e4ec;
    box-shadow: 0 14px 34px rgba(25, 45, 85, 0.08);
    padding: 18px 0 20px;
}

body.woocommerce-meu-carrinho .woocommerce-MyAccount-content {
    float: none;
    width: auto;
    min-width: 0;
}

body.woocommerce-meu-carrinho .woocommerce::after,
body.woocommerce-meu-carrinho .woocommerce-MyAccount-content::after {
    content: "";
    display: table;
    clear: both;
}

body.woocommerce-meu-carrinho .t2000-account-cart,
body.woocommerce-meu-carrinho .nm-cart-container,
body.woocommerce-meu-carrinho .nm-cart-collaterals-container,
body.woocommerce-meu-carrinho .cart-collaterals {
    display: block !important;
}

body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation .elementor-widget-nav-menu {
    margin-bottom: 0;
}

body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation a.elementor-item {
    padding: 10px 20px !important;
    line-height: 1.5;
}

body.woocommerce-meu-carrinho a.nm-my-logout {
    display: block;
    margin: 18px 20px 0;
    padding: 16px 0 0;
    border-top: 1px solid #e1e4ec;
    font-size: 14px;
}

body.woocommerce-meu-carrinho .nm-cart-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

body.woocommerce-meu-carrinho .nm-cart-container form {
    width: auto;
    min-width: 0;
}

body.woocommerce-meu-carrinho .nm-cart-collaterals-container {
    width: auto;
    padding-left: 0;
    flex-shrink: 0;
    position: sticky;
    top: 28px;
    align-self: start;
}

body.woocommerce-meu-carrinho .cart-collaterals {
    background: #ffffff;
    border: 1px solid #d7dbe5;
    box-shadow: 0 14px 34px rgba(25, 45, 85, 0.08);
    padding: 28px 20px;
}

body.woocommerce-meu-carrinho .cart_totals {
    float: none;
    width: 100%;
}

body.woocommerce-meu-carrinho .nm-cart-container h2,
body.woocommerce-meu-carrinho .nm-cart-collaterals-container h2 {
    font-weight: 500;
    font-size: 25px;
    color: #2e3192;
    margin: 0 0 28px;
}

body.woocommerce-meu-carrinho .nm-cart-collaterals-container > h2 {
    margin-bottom: 18px;
}

body.woocommerce-meu-carrinho table.cart {
    border: none;
    border-collapse: collapse;
    width: 100%;
}

body.woocommerce-meu-carrinho table.cart th,
body.woocommerce-meu-carrinho table.cart td {
    border: none;
    border-bottom: 1px solid #9e9e9e;
    padding: 24px 12px;
    vertical-align: middle;
}

body.woocommerce-meu-carrinho table.cart th {
    color: #9e9e9e;
    font-weight: 500;
    text-transform: uppercase;
    padding-top: 0;
    padding-bottom: 16px;
}

body.woocommerce-meu-carrinho table.cart th.product-thumbnail,
body.woocommerce-meu-carrinho table.cart td.product-thumbnail {
    width: 92px;
}

body.woocommerce-meu-carrinho table.cart th.product-name,
body.woocommerce-meu-carrinho table.cart td.product-name {
    width: 34%;
    min-width: 220px;
}

body.woocommerce-meu-carrinho table.cart th.product-remove,
body.woocommerce-meu-carrinho table.cart td.product-remove {
    width: 56px;
    text-align: right;
}

body.woocommerce-meu-carrinho .nm-cart-container table.cart td.product-thumbnail a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

body.woocommerce-meu-carrinho .nm-cart-container table.cart img {
    width: 72px !important;
    padding: 0 !important;
    min-width: 72px;
}

body.woocommerce-meu-carrinho .nm-cart-container .product-name a {
    font-size: 16px;
    color: #2e3192;
    line-height: 1.15;
    display: inline-block;
    font-weight: 500;
    font-family: "Montserrat", Montserrat;
    max-width: 230px;
}

body.woocommerce-meu-carrinho .nm-cart-container .ref {
    padding-top: 0;
    line-height: 1em;
    font-size: 16px;
}

body.woocommerce-meu-carrinho .nm-cart-container .variation {
    display: flex;
    padding-top: 5px;
}

body.woocommerce-meu-carrinho .nm-cart-container .product-price,
body.woocommerce-meu-carrinho .nm-cart-container .product-subtotal {
    min-width: 110px;
}

body.woocommerce-meu-carrinho .nm-cart-container .product-quantity {
    min-width: 120px;
    text-align: center;
}

body.woocommerce-meu-carrinho .nm-cart-container .quantity {
    justify-content: center;
}

body.woocommerce-meu-carrinho .nm-cart-container .tax_label,
body.woocommerce-meu-carrinho .nm-cart-container .includes_tax {
    display: none;
}

body.woocommerce-meu-carrinho .nm-cart-container .woocommerce-Price-amount.amount {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

body.woocommerce-meu-carrinho .nm-cart-container .cart_totals table th {
    color: #9e9e9e;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
}

body.woocommerce-meu-carrinho .cart_totals table,
body.woocommerce-meu-carrinho .cart_totals table th,
body.woocommerce-meu-carrinho .cart_totals table td {
    border: none;
}

body.woocommerce-meu-carrinho .cart_totals table th,
body.woocommerce-meu-carrinho .cart_totals table td {
    padding: 18px 0;
    vertical-align: top;
}

body.woocommerce-meu-carrinho .cart_totals table tr + tr th,
body.woocommerce-meu-carrinho .cart_totals table tr + tr td {
    border-top: 1px solid #d7dbe5;
}

body.woocommerce-meu-carrinho .cart_totals table td {
    text-align: right;
}

body.woocommerce-meu-carrinho .cart_totals .shipping td .woocommerce-shipping-destination {
    max-width: 220px;
    margin: 10px 0 0 auto;
    font-size: 14px;
    line-height: 1.55;
    color: #545454;
}

body.woocommerce-meu-carrinho .cart_totals .shipping td ul {
    margin: 0;
}

body.woocommerce-meu-carrinho .elementor-44067 .elementor-form {
    margin-top: 24px;
}

body.woocommerce-meu-carrinho .elementor-44067 .elementor-field-group {
    margin-bottom: 16px;
}

body.woocommerce-meu-carrinho .elementor-44067 .elementor-field-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

body.woocommerce-meu-carrinho .elementor-44067 .elementor-button {
    width: 100%;
    justify-content: center;
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce,
    body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation,
    body.woocommerce-meu-carrinho .woocommerce-MyAccount-content {
        display: block;
        float: none;
        width: 100%;
    }

    body.woocommerce-meu-carrinho .nm-cart-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.woocommerce-meu-carrinho .nm-cart-collaterals-container {
        width: 100%;
        padding-left: 0;
        position: static;
    }
}

/* Cart layout stabilization: override legacy custom CSS loaded after the theme */
body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 48px !important;
}

body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
}

body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation > .elementor,
body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation .elementor-section,
body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation .elementor-container,
body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation .elementor-column,
body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation .elementor-widget-wrap {
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 48px !important;
}

body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container > form.woocommerce-cart-form {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container > .nm-cart-collaterals-container {
    flex: 0 0 340px !important;
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    padding-left: 0 !important;
    position: sticky !important;
    top: 28px !important;
    align-self: flex-start !important;
}

body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container > .nm-cart-collaterals-container .cart-collaterals {
    width: 100% !important;
}

@media only screen and (max-width: 1180px) {
    body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container {
        flex-direction: column !important;
        gap: 32px !important;
    }

    body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container > .nm-cart-collaterals-container {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        position: static !important;
    }
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce {
        display: block !important;
    }

    body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

/* My Account > View Order: align with site/account design */
body.woocommerce-view-order .elementor-shortcode > .woocommerce {
    display: block !important;
}

body.woocommerce-view-order .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation {
    float: left !important;
    width: 30% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.woocommerce-view-order .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
    float: right !important;
    width: 68% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type {
    margin: 0 0 26px;
    color: #374151;
    font-size: 16px;
    line-height: 1.7;
}

body.woocommerce-view-order .woocommerce-MyAccount-content mark {
    background: transparent;
    color: #1f2937;
    font-weight: 600;
    padding: 0;
}

body.woocommerce-view-order .woocommerce-MyAccount-content h2,
body.woocommerce-view-order .woocommerce-MyAccount-content h3 {
    color: #2E3192;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px;
}

body.woocommerce-view-order .woocommerce-order-details,
body.woocommerce-view-order .woocommerce-customer-details {
    margin-top: 28px;
}

body.woocommerce-view-order .woocommerce-order-details__title,
body.woocommerce-view-order .woocommerce-column__title {
    color: #2E3192;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 18px;
}

body.woocommerce-view-order .woocommerce-table--order-details,
body.woocommerce-view-order .woocommerce-table--order-details th,
body.woocommerce-view-order .woocommerce-table--order-details td {
    border-color: #d7dbe5 !important;
}

body.woocommerce-view-order .woocommerce-table--order-details {
    border-collapse: collapse;
    border: 1px solid #d7dbe5;
    background: #ffffff;
    margin-bottom: 32px;
}

body.woocommerce-view-order .woocommerce-table--order-details thead th {
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 14px;
    background: #fbfcff;
}

body.woocommerce-view-order .woocommerce-table--order-details .product-quantity {
    width: 140px;
    text-align: center;
    white-space: nowrap;
}

body.woocommerce-view-order .woocommerce-table--order-details tbody .product-total,
body.woocommerce-view-order .woocommerce-table--order-details thead .product-total {
    width: 160px;
}

body.woocommerce-view-order .woocommerce-table--order-details tbody td,
body.woocommerce-view-order .woocommerce-table--order-details tfoot th,
body.woocommerce-view-order .woocommerce-table--order-details tfoot td {
    padding: 18px 14px;
    vertical-align: top;
    font-size: 16px;
}

body.woocommerce-view-order .woocommerce-table--order-details tbody td a {
    color: #2E3192 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px !important;
}

body.woocommerce-view-order .woocommerce-table--order-details tbody td a:hover {
    text-decoration: underline;
}

body.woocommerce-view-order .woocommerce-table--order-details tfoot th {
    color: #374151;
    font-weight: 600;
}

body.woocommerce-view-order .woocommerce-table--order-details tfoot td {
    color: #111827;
    font-weight: 600;
}

body.woocommerce-view-order .woocommerce-customer-details address {
    border: 1px solid #d7dbe5;
    border-radius: 0;
    background: #ffffff;
    padding: 20px 18px;
    line-height: 1.7;
    color: #374151;
    box-shadow: none;
}

body.woocommerce-view-order .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

body.woocommerce-view-order .woocommerce-column {
    width: auto !important;
    float: none !important;
}

body.woocommerce-view-order .woocommerce-table--order-details tbody tr:first-child td,
body.woocommerce-view-order .woocommerce-table--order-details thead tr:first-child th {
    border-top: none;
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-view-order .elementor-shortcode > .woocommerce {
        display: block !important;
    }

    body.woocommerce-view-order .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-view-order .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.woocommerce-view-order .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* View Order: force billing/shipping addresses side by side on desktop */
body.woocommerce-view-order .woocommerce-customer-details .woocommerce-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
    align-items: start !important;
}

body.woocommerce-view-order .woocommerce-customer-details .woocommerce-column--billing-address,
body.woocommerce-view-order .woocommerce-customer-details .woocommerce-column--shipping-address {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-view-order .woocommerce-customer-details .woocommerce-columns {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* View Order: stronger address two-column layout */
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 32px !important;
}

body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-1,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-2,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--billing-address,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--shipping-address {
    flex: 1 1 0 !important;
    width: calc(50% - 16px) !important;
    max-width: calc(50% - 16px) !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-1,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--billing-address {
    order: 1 !important;
}

body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-2,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--shipping-address {
    order: 2 !important;
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses {
        display: block !important;
    }

    body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-1,
    body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-2,
    body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--billing-address,
    body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--shipping-address {
        width: 100% !important;
        max-width: none !important;
    }
}

/* View Order: equal-height aligned address cards */
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses {
    align-items: stretch !important;
}

body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-1,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-2,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--billing-address,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--shipping-address {
    display: flex !important;
    flex-direction: column !important;
}

body.woocommerce-view-order .woocommerce-customer-details .woocommerce-column__title {
    min-height: 38px;
    display: flex;
    align-items: flex-end;
}

body.woocommerce-view-order .woocommerce-customer-details address {
    flex: 1 1 auto !important;
    height: 100% !important;
    margin: 0 !important;
}

/* View Order: align address section with order table left edge */
body.woocommerce-view-order .woocommerce-customer-details {
    width: 100% !important;
    max-width: none !important;
    margin: 32px 0 0 !important;
    padding: 0 !important;
    clear: both !important;
}

body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses,
body.woocommerce-view-order .woocommerce-customer-details .woocommerce-columns--addresses {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .col-1,
body.woocommerce-view-order .woocommerce-customer-details .col2-set.addresses > .woocommerce-column--billing-address {
    margin-left: 0 !important;
}

/* View Order: align order details block with address cards */



/* Cart: match /orders/ account layout */
body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce {
    display: block !important;
}

body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation {
    float: left !important;
    width: 30% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
    float: right !important;
    width: 65% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-meu-carrinho .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
    }
}



/* Cart: make side menu match /orders/ visual styling */
body.woocommerce-meu-carrinho .woocommerce-MyAccount-navigation {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.woocommerce-meu-carrinho a.nm-my-logout {
    display: inline-block !important;
    margin: 0 !important;
    padding: 40px 20px !important;
    border-top: 0 !important;
    font-size: 16px !important;
}

/* View Order: final compact spacing overrides */
body.woocommerce-view-order .t2000-merch-back {
    margin: 0 0 10px !important;
}

body.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type {
    margin: 0 0 10px !important;
    line-height: 1.5 !important;
}

body.woocommerce-view-order .woocommerce-order-details {
    margin-top: 10px !important;
}

body.woocommerce-view-order .woocommerce-order-details__title {
    margin: 0 0 10px !important;
}

body.woocommerce-view-order .woocommerce-table--order-details {
    margin-bottom: 12px !important;
}

body.woocommerce-view-order .woocommerce-customer-details {
    margin: 12px 0 0 !important;
}

body.woocommerce-view-order .woocommerce-column__title {
    margin: 0 0 10px !important;
}

/* My Account > Checkout / Thank You: keep account navigation visible */
body.woocommerce-finalizar-compra .elementor-shortcode > .woocommerce {
    display: block !important;
}

body.woocommerce-finalizar-compra .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation {
    float: left !important;
    width: 30% !important;
    min-width: 0 !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.woocommerce-finalizar-compra .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
    float: right !important;
    width: 65% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-finalizar-compra a.nm-my-logout {
    display: inline-block !important;
    margin: 0 !important;
    padding: 40px 20px !important;
    border-top: 0 !important;
    font-size: 16px !important;
}

body.woocommerce-finalizar-compra .woocommerce-order {
    text-align: center;
}

body.woocommerce-finalizar-compra .t2000-order-success-icon {
    display: flex;
    justify-content: center;
    margin: 0 0 24px;
}

body.woocommerce-finalizar-compra .t2000-order-success-icon svg {
    width: 96px;
    height: 96px;
}

body.woocommerce-finalizar-compra .t2000-order-success-icon circle {
    fill: #ffffff;
    stroke: #2e3192;
    stroke-width: 2;
}

body.woocommerce-finalizar-compra .t2000-order-success-icon path {
    fill: none;
    stroke: #2e3192;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

body.woocommerce-finalizar-compra .woocommerce-order p a {
    color: #2e3192;
    text-decoration: underline;
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-finalizar-compra .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-finalizar-compra .elementor-shortcode > .woocommerce > .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
    }
}

/* Orders status filters */
.t2000-orders-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 18px;
}

.t2000-orders-filter {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #2e3192;
    border-radius: 999px;
    color: #2e3192;
    text-decoration: none;
    font-weight: 500;
    transition: all .2s ease;
}

.t2000-orders-filter:hover,
.t2000-orders-filter:focus {
    background: #f5f7fd;
    text-decoration: none;
}

.t2000-orders-filter.is-active {
    background: #2e3192;
    color: #ffffff;
}

/* Ticket filters */
.t2000-ticket-filters {
    margin: 0 0 12px;
}

.t2000-ticket-status-filters {
    margin: 0 0 18px;
}

/* Cart: place purchase summary below cart table to avoid compression */
body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container {
    display: block !important;
}

body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container > form.woocommerce-cart-form,
body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container > .nm-cart-collaterals-container {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.woocommerce-meu-carrinho .t2000-account-cart .woocommerce .nm-cart-container > .nm-cart-collaterals-container {
    margin-top: 28px !important;
    position: static !important;
}

body.woocommerce-meu-carrinho .nm-cart-collaterals-container > h2 {
    margin-bottom: 14px !important;
}

/* Cart: style update cart button to match theme */
body.woocommerce-meu-carrinho .woocommerce-cart-form .actions .button[name="update_cart"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px !important;
    border: 1px solid #2e3192 !important;
    border-radius: 999px !important;
    background: #2e3192 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body.woocommerce-meu-carrinho .woocommerce-cart-form .actions .button[name="update_cart"]:hover,
body.woocommerce-meu-carrinho .woocommerce-cart-form .actions .button[name="update_cart"]:focus {
    background: #ffffff !important;
    color: #2e3192 !important;
}

body.woocommerce-meu-carrinho .woocommerce-cart-form .actions .button[name="update_cart"][disabled] {
    opacity: .45 !important;
    cursor: not-allowed !important;
}

/* Cart: clean header separator above table columns */
body.woocommerce-meu-carrinho table.cart thead tr {
    border-bottom: 1px solid #9e9e9e;
}

body.woocommerce-meu-carrinho table.cart th {
    border-bottom: 0 !important;
    padding: 0 12px 10px !important;
    vertical-align: bottom;
}

/* Cart: remove extra line above table headers */
body.woocommerce-meu-carrinho table.cart thead {
    border-top: 0 !important;
    border-bottom: 1px solid #9e9e9e !important;
}

body.woocommerce-meu-carrinho table.cart thead tr {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

body.woocommerce-meu-carrinho table.cart thead th {
    border-top: 0 !important;
}

/* Account checkout: make final summary match cart page layout */
body.woocommerce-checkout #resumo .resumo-inner {
    display: block !important;
}

body.woocommerce-checkout #resumo .nm-checkout-cart {
    width: 100% !important;
}

body.woocommerce-checkout #resumo .nm-checkout-cart .nm-cart-container {
    display: block !important;
}

body.woocommerce-checkout #resumo .resumo-right {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    width: 100% !important;
    margin-top: 28px;
    padding-left: 0 !important;
}

body.woocommerce-checkout #resumo .faturucao,
body.woocommerce-checkout #resumo .pagamento-img {
    width: 100%;
}

body.woocommerce-checkout #resumo .faturucao-inner,
body.woocommerce-checkout #resumo .pagamento-img-inner {
    background: #ffffff;
    border: 1px solid #d7dbe5;
    padding: 24px 20px;
    min-height: 100%;
}

body.woocommerce-checkout #resumo h2 {
    color: #2e3192;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 14px;
}

body.woocommerce-checkout #resumo .nm-checkout-cart table.cart {
    width: 100%;
    border-collapse: collapse;
}

body.woocommerce-checkout #resumo .nm-checkout-cart table.cart th,
body.woocommerce-checkout #resumo .nm-checkout-cart table.cart td {
    border: 0;
    border-bottom: 1px solid #9e9e9e;
    padding: 22px 12px;
    vertical-align: middle;
}

body.woocommerce-checkout #resumo .nm-checkout-cart table.cart th {
    color: #9e9e9e;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0 12px 12px;
}

body.woocommerce-checkout #resumo .nm-checkout-cart table.cart thead {
    border-bottom: 1px solid #9e9e9e;
}

body.woocommerce-checkout #resumo .nm-checkout-cart table.cart th.product-thumbnail,
body.woocommerce-checkout #resumo .nm-checkout-cart table.cart td.product-thumbnail {
    width: 92px;
}

body.woocommerce-checkout #resumo .nm-checkout-cart table.cart th.product-name,
body.woocommerce-checkout #resumo .nm-checkout-cart table.cart td.product-name {
    width: 34%;
    min-width: 220px;
}

body.woocommerce-checkout #resumo .nm-checkout-cart .product-name a {
    color: #2e3192;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

body.woocommerce-checkout #resumo .nm-checkout-cart .product-price,
body.woocommerce-checkout #resumo .nm-checkout-cart .product-subtotal,
body.woocommerce-checkout #resumo .nm-checkout-cart .product-quantity {
    white-space: nowrap;
}

body.woocommerce-checkout #resumo .nm-checkout-footer {
    margin-top: 28px;
}

@media only screen and (max-width: 1024px) {
    body.woocommerce-checkout #resumo .resumo-right {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* Checkout summary cleanup */
body.woocommerce-checkout #resumo .faturucao-inner {
    background: #ffffff;
    border: 1px solid #d7dbe5;
    padding: 24px 20px;
}

body.woocommerce-checkout #resumo .pagamento-img {
    display: none !important;
}

body.woocommerce-checkout #resumo .resumo-right {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

body.woocommerce-checkout #resumo .nm-checkout-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    background: transparent !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding: 0 !important;
    margin: 28px 0 0 !important;
    min-height: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    clear: both !important;
}

body.woocommerce-checkout #resumo .nm-checkout-footer::before,
body.woocommerce-checkout #resumo .nm-checkout-footer::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.woocommerce-checkout #resumo .faturucao-inner p {
    margin: 0 0 8px;
}

body.woocommerce-checkout #resumo .faturucao-inner p:last-of-type {
    margin-bottom: 0;
}

body.woocommerce-checkout #resumo .faturucao,
body.woocommerce-checkout #resumo .faturucao-inner {
    position: relative;
    z-index: 1;
}

body.woocommerce-checkout #resumo .faturucao-inner {
    overflow: hidden;
}

body.woocommerce-checkout #resumo .nm-checkout-footer > * {
    position: relative !important;
    z-index: 3 !important;
}

body.woocommerce-checkout #resumo .nm-checkout-footer .nm-btn {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

body.woocommerce-checkout .t2000-summary-footer {
    margin: 32px 0 0 !important;
}

/* Checkout (envio/pagamento): remove decorative separator lines around action footer */
body.woocommerce-checkout #envio .nm-checkout-footer,
body.woocommerce-checkout #pagamento .nm-checkout-footer {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.woocommerce-checkout #envio .nm-checkout-footer::before,
body.woocommerce-checkout #envio .nm-checkout-footer::after,
body.woocommerce-checkout #pagamento .nm-checkout-footer::before,
body.woocommerce-checkout #pagamento .nm-checkout-footer::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
}


/* Cart + checkout: remove odd hover background on shipping summary rows */
body.woocommerce-meu-carrinho .cart_totals .shipping:hover th,
body.woocommerce-meu-carrinho .cart_totals .shipping:hover td,
body.woocommerce-meu-carrinho .cart_totals .shipping th:hover,
body.woocommerce-meu-carrinho .cart_totals .shipping td:hover,
body.woocommerce-checkout #resumo .cart_totals .shipping:hover th,
body.woocommerce-checkout #resumo .cart_totals .shipping:hover td,
body.woocommerce-checkout #resumo .cart_totals .shipping th:hover,
body.woocommerce-checkout #resumo .cart_totals .shipping td:hover {
    background: transparent !important;
}

/* Cart: remove odd background on actions row */
body.woocommerce-meu-carrinho .woocommerce-cart-form td.actions,
body.woocommerce-meu-carrinho .woocommerce-cart-form tr:last-child td.actions,
body.woocommerce-meu-carrinho .woocommerce-cart-form td.actions:hover,
body.woocommerce-meu-carrinho .woocommerce-cart-form tr:last-child td.actions:hover {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: 0 !important;
}


body.woocommerce-meu-carrinho .t2000-empty-cart {
    max-width: 640px;
    margin: 36px auto 0;
    text-align: center;
    padding: 40px 32px;
    background: #ffffff;
    border: 1px solid #d7dbe5;
}

body.woocommerce-meu-carrinho .t2000-empty-cart h2 {
    margin: 0 0 12px;
    color: #2e3192;
    font-size: 36px;
    font-weight: 500;
}

body.woocommerce-meu-carrinho .t2000-empty-cart p {
    margin: 0 0 20px;
    color: #545454;
    font-size: 18px;
}

body.woocommerce-meu-carrinho .t2000-empty-cart__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #2e3192;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #2e3192;
}

body.woocommerce-meu-carrinho .t2000-empty-cart__cta:hover,
body.woocommerce-meu-carrinho .t2000-empty-cart__cta:focus {
    background: #ffffff;
    color: #2e3192;
}

/* Account pages: remove residual empty slot where header cart icon was hidden */
body.woocommerce-account:not(.t2000-sales-representative) .elementor-location-header .elementor-widget-woocommerce-menu-cart,
body.woocommerce-account:not(.t2000-sales-representative) .elementor-location-header .nm-el-menu-cart,
body.woocommerce-account:not(.t2000-sales-representative) .elementor-location-header .elementor-menu-cart__toggle_wrapper {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.t2000-my-open-tickets .mt-ticket-view {
    border-top: 0 !important;
    margin-top: 16px !important;
    padding-top: 0 !important;
}

/* Change history items: stack vertically (no avatar, no flex side-by-side) */
.mt-front-ticket .mt-update-item.mt-history-item {
    flex-direction: column;
    gap: 6px;
}
.mt-front-ticket .mt-update-item.mt-history-item .mt-update-meta {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}
.mt-front-ticket .mt-update-item.mt-history-item .mt-box {
    margin-bottom: 0;
}
