/*
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
*/

/* Geral */

body {
    overflow-x: hidden;
}

.page-header {
    margin-top: 50px;
}

input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: none;
}

.term-description {
    margin-bottom: 50px
}

/* Pesquisa */
.search .post {
    width: 25%;
    display: inline-block;
    vertical-align: top;
    padding: 20px;
    text-align: center;
}

.search .post h2 {
    color: #222222;
    font-weight: 400;
    font-size: 1em
}

.search .post .add_to_cart_inline {
    border: none !important;
}

.search .post .woocommerce-Price-amount {
    display: block;
}

.search .post .button {
    transition: .3s;
}

@media only screen and (max-width: 850px) {
    .search .post {
        width: 100%;
    }
}


/* Inputs */
input:not([type="submit"]),
select,
.select2,
textarea {
    margin-top: 5px;
    margin-bottom: 15px;
}

select {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-ccbd08f);
    border-radius: 0px 0px 0px 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
}



/* Contact Forms 7 */
.wpcf7-form label {
    width: 100%;
}

.wpcf7-form .wpcf7-list-item.first,
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0px;
}

/*Tables*/
table {
    border-color: var(--e-global-color-ccbd08f);
}

table td,
table th {
    border-color: var(--e-global-color-ccbd08f);
}

table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th,
table tbody>tr:hover>td,
table tbody>tr:hover>th {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Blog/Archive Layout — content column floats, cards use .absites-news__grid */
.blog .site-main .page-content,
.archive .site-main .page-content {
    width: 75%;
    /* Default width when sidebar exists */
    float: left;
}

/* When sidebar doesn't exist, content takes full width */
.blog .site-main:not(:has(.blog-sidebar)) .page-content,
.archive .site-main:not(:has(.blog-sidebar)) .page-content {
    width: 100%;
    float: none;
}

/* News card grid on archive/blog — 3 cols when sidebar is present */
.blog .site-main .page-content .absites-news__grid,
.archive .site-main .page-content .absites-news__grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Full width (no sidebar) can fit a 4th column on wide screens */
.blog .site-main:not(:has(.blog-sidebar)) .page-content .absites-news__grid,
.archive .site-main:not(:has(.blog-sidebar)) .page-content .absites-news__grid,
.search .site-main .page-content .absites-news__grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Search results are always full width (no sidebar) */
.search .site-main .page-content {
    width: 100%;
    float: none;
}

/* Blog Sidebar */
.blog-sidebar {
    width: 22%;
    float: right;
    padding-left: 30px;
}

/* Clear float after main content */
.site-main::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 1024px) {

    .blog .site-main .page-content .absites-news__grid,
    .archive .site-main .page-content .absites-news__grid,
    .blog .site-main:not(:has(.blog-sidebar)) .page-content .absites-news__grid,
    .archive .site-main:not(:has(.blog-sidebar)) .page-content .absites-news__grid,
    .search .site-main .page-content .absites-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .blog .site-main .page-content,
    .archive .site-main .page-content {
        width: 100%;
        float: none;
    }

    .blog-sidebar {
        width: 100%;
        float: none;
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {

    .blog .site-main .page-content .absites-news__grid,
    .archive .site-main .page-content .absites-news__grid,
    .blog .site-main:not(:has(.blog-sidebar)) .page-content .absites-news__grid,
    .archive .site-main:not(:has(.blog-sidebar)) .page-content .absites-news__grid,
    .search .site-main .page-content .absites-news__grid {
        grid-template-columns: 1fr;
    }
}

.post-link {
    text-decoration: none !important;
    color: inherit;
}

.post {
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.post img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.post .entry-title {
    color: var(--e-global-color-text);
    font-weight: 400;
    font-size: 1.3em;
    margin-bottom: 10px;
    text-decoration: none !important;
}

.post .excerpt {
    color: var(--e-global-color-text);
    font-size: 0.9em;
    margin: 10px 0;
    text-decoration: none !important;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin: 80px 20px;
    clear: both;
}

.pagination a {
    color: var(--e-global-color-text);
    text-decoration: none !important;
    padding: 10px 20px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--e-global-color-primary);
    color: white;
}

/* Blog Sidebar Widgets */
.blog-sidebar .widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.blog-sidebar .widget:last-child,
.blog-sidebar .widget:has(h2.wp-block-heading) {
    border-bottom: none;
    padding-bottom: 0px;
}

.blog-sidebar .wp-block-search {
    position: relative;
}

.blog-sidebar .wp-block-search .wp-block-search__input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.blog-sidebar .wp-block-search .wp-block-search__button {
    display: none;
}

.blog-sidebar .wp-block-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .wp-block-categories-list li {
    margin-bottom: 10px;
}

.blog-sidebar .wp-block-categories-list a {
    color: var(--e-global-color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar .wp-block-categories-list a:hover {
    color: var(--e-global-color-primary);
}

.blog-sidebar h2.wp-block-heading {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 0px;
    color: var(--e-global-color-text);
    font-weight: 500;
}

.blog-sidebar .wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .wp-block-latest-posts__list li {
    margin-bottom: 15px;
}

.blog-sidebar .wp-block-latest-posts__post-title {
    color: var(--e-global-color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar .wp-block-latest-posts__post-title:hover {
    color: var(--e-global-color-primary);
}

/* Sidebar — news-fitting heading treatment */
.blog-sidebar .widget-title,
.blog-sidebar h2.wp-block-heading {
    position: relative;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--e-global-color-secondary, var(--e-global-color-text));
}

.blog-sidebar .widget-title::after,
.blog-sidebar h2.wp-block-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background-color: var(--e-global-color-accent, var(--e-global-color-primary));
}

.blog-sidebar .wp-block-latest-posts__post-title {
    font-weight: 600;
    line-height: 1.35;
}

.blog-sidebar .wp-block-search .wp-block-search__input:focus {
    outline: none;
    border-color: var(--e-global-color-primary);
}

/* Single Post Layout */
.single .site-main {
    width: 100%;
}

.single .site-main .page-content {
    width: 75%;
    float: left;
}

/* When sidebar doesn't exist, content takes full width */
.single .site-main:not(:has(.blog-sidebar)) .page-content {
    width: 100%;
    float: none;
}

@media (max-width: 768px) {
    .single .site-main .page-content {
        width: 100%;
        float: none;
    }
}

.single .entry-title {
    color: var(--e-global-color-text);
    font-weight: 400;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.single .post-tags {
    margin: 30px 0;
}

.single .tag-links {
    color: var(--e-global-color-text);
    font-size: 0.9em;
}

/* Clear float after main content */
.single .site-main::after {
    content: "";
    display: table;
    clear: both;
}

/* Related Posts Section */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.related-posts h3 {
    color: var(--e-global-color-text);
    font-size: 1.5em;
    margin-bottom: 20px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post-item {
    text-align: left;
}

.related-post-item__image {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16 / 10;
    background-color: #f2f2f2;
    margin-bottom: 12px;
}

.related-post-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    transition: transform 0.4s ease;
}

.related-post-item:hover .related-post-item__image img {
    transform: scale(1.04);
}

.related-post-item h4 {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.35;
    font-weight: 700;
}

.related-post-item a {
    color: var(--e-global-color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-item a:hover {
    color: var(--e-global-color-primary);
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Post Info — news meta row on single */
.single .post-info {
    margin-bottom: 28px;
}

/* Keep badge links readable (white pill) inside the post meta */
a.absites-news__badge,
a.absites-news__badge:hover,
a.absites-news__badge:focus {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a.absites-news__badge:hover,
a.absites-news__badge:focus {
    opacity: 0.85;
}

/* Product price inside a news-style search card */
.absites-news__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--e-global-color-secondary, #1b2a4e);
    margin: 0;
}

.absites-news__price del {
    opacity: 0.55;
    font-weight: 500;
    margin-right: 6px;
}

.absites-news__price ins {
    text-decoration: none;
}

.post-thumbnail {
    margin-bottom: 30px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Widen the content area on non-Elementor templates (parent theme caps at 1140px).
   A uniform 10px side gutter is shared by header, footer, news and Elementor
   containers (see .e-con rule below) so every edge lines up. */
body:not([class*=elementor-page-]) .site-main {
    max-width: 1300px;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
}

/* Give non-Elementor templates breathing room below the sticky header */
.site-main > .page-header {
    margin-top: 50px;
}

/* Page Header */
.page-header {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.page-header .absites-news__label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--e-global-color-primary);
}

.page-header .entry-title {
    color: var(--e-global-color-text);
    font-size: 2em;
    margin: 0;
    font-weight: 500;
}

.page-header .archive-description {
    margin-top: 15px;
    color: var(--e-global-color-text);
    opacity: 0.8;
    font-size: 0.95em;
}

.comment-author img {
    width: 42px;
}

/* Quote Styling */
blockquote {
    background: #f9f9f9;
    border-left: 4px solid var(--e-global-color-primary);
    margin: 1.5em 0;
    padding: 1em 2em;
    font-style: italic;
    color: #666;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 1em;
    font-size: 0.9em;
    color: #888;
    font-style: normal;
}

/*Hide cookie banner in coming soon page*/
.page-id-283 .cky-consent-container {
    display: none;
}

/* =============================================================================
   SPENFSE HEADER — mobile-first
   ============================================================================= */

/* ── Variables ── */
:root {
    --header-height: 64px;
    --header-bg: #ffffff;
    --header-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --header-z: 1002;           /* above overlay (1000) and drawer (1001) */
    --nav-color: var(--e-global-color-primary);   /* Navy Blue #1B2A4E */
    --nav-hover: var(--e-global-color-accent);    /* Gold #D49A3A */
    --cta-bg: var(--e-global-color-primary);      /* Navy Blue #1B2A4E */
    --cta-color: #ffffff;
    --cta-hover-bg: var(--e-global-color-accent); /* Gold #D49A3A */
    --drawer-width: 280px;
    --drawer-bg: #ffffff;
    --overlay-bg: rgba(0, 0, 0, 0.45);
    --burger-color: var(--e-global-color-primary); /* Navy Blue #1B2A4E */
    --header-font-size: 0.92rem;
}

/* ── Sticky wrapper ── */
.spenfse-header {
    position: sticky;
    top: 0;
    z-index: var(--header-z); /* 1002 — above overlay(1000) and drawer(1001) */
    background: var(--header-bg);
    box-shadow: var(--header-shadow);
    width: 100%;
    isolation: isolate;       /* new stacking context */
}

/* ── Inner flex row ── */
.spenfse-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 10px;
    max-width: 1300px;
    margin: 0 auto;
    gap: 16px;
}

/* ── Logo ── */
.spenfse-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.spenfse-header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Custom logo image sizing */
.spenfse-header__logo .custom-logo {
    height: 48px;
    width: auto;
    display: block;
}

.spenfse-header__site-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nav-color);
    letter-spacing: -0.02em;
}

/* ── Desktop nav (hidden on mobile) ── */
.spenfse-header__nav {
    display: none;
    flex: 1;
    justify-content: center;
}

/* ── Desktop actions (hidden on mobile) ── */
.spenfse-header__actions {
    display: none;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ── CTA pill button ── */
/* Defensive overrides for parent theme reset.css (`a { color:#c36 }`)
   and Elementor kit (`.elementor-kit-8 a:hover { color: accent }`). */
a.spenfse-header__cta,
a.spenfse-header__cta:link,
a.spenfse-header__cta:visited {
    display: inline-block !important;
    padding: 9px 22px !important;
    background-color: var(--e-global-color-primary) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 0 !important;
    border-radius: 50px !important;
    font-size: var(--header-font-size) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    line-height: 1.4 !important;
    letter-spacing: 0.01em !important;
    box-shadow: none !important;
}

a.spenfse-header__cta:hover,
a.spenfse-header__cta:focus,
a.spenfse-header__cta:active {
    background-color: var(--e-global-color-accent) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ── Hamburger button ── */
/* Fully reset every inherited button style with !important everywhere. */
button.spenfse-header__burger,
.spenfse-header__burger {
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    display: inline-block !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    color: var(--burger-color, #1B2A4E) !important;
    text-transform: none !important;
    line-height: 1 !important;
    font-size: 0 !important;
    transition: background-color 0.15s ease !important;
}

button.spenfse-header__burger:hover,
.spenfse-header__burger:hover {
    background-color: rgba(27, 42, 78, 0.08) !important;
}

button.spenfse-header__burger:focus,
.spenfse-header__burger:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--burger-color, #1B2A4E) !important;
    outline: none !important;
}

/* Position the 3 bars absolutely so they reliably render regardless of
   flex/parent layout quirks. Each bar is a fixed 24px × 2px line. */
.spenfse-header__burger .spenfse-burger__bar {
    box-sizing: border-box !important;
    position: absolute !important;
    left: 8px !important;
    width: 24px !important;
    height: 2px !important;
    background-color: #1B2A4E !important;
    background: #1B2A4E !important;
    border: 0 !important;
    border-radius: 2px !important;
    display: block !important;
    transform-origin: center !important;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.2s ease !important;
}

.spenfse-header__burger .spenfse-burger__bar:nth-child(1) { top: 13px !important; }
.spenfse-header__burger .spenfse-burger__bar:nth-child(2) { top: 19px !important; }
.spenfse-header__burger .spenfse-burger__bar:nth-child(3) { top: 25px !important; }

/* Burger → X when active */
.spenfse-header__burger.is-active .spenfse-burger__bar:nth-child(1) {
    top: 19px !important;
    transform: rotate(45deg) !important;
}
.spenfse-header__burger.is-active .spenfse-burger__bar:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}
.spenfse-header__burger.is-active .spenfse-burger__bar:nth-child(3) {
    top: 19px !important;
    transform: rotate(-45deg) !important;
}

/* ── Mobile drawer ── */
.spenfse-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--drawer-width);
    max-width: 85vw;
    height: 100%;
    background: var(--drawer-bg);
    z-index: 1001;              /* below header (1002), above overlay (1000) */
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.spenfse-mobile-drawer.is-open {
    transform: translateX(0);
}

.spenfse-mobile-drawer__inner {
    padding: 80px 28px 40px;
    display: flex;
    flex-direction: column;
}

/* ── Overlay ── */
.spenfse-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    z-index: 1000;              /* below drawer (1001) and header (1002) */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spenfse-drawer-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Prevent body scroll when drawer open */
body.drawer-open {
    overflow: hidden;
}

/* ── Mobile nav list ── */
.spenfse-mobile-nav__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.spenfse-mobile-nav__list li {
    border-bottom: 1px solid rgba(27, 42, 78, 0.1); /* primary at 10% */
}

.spenfse-mobile-nav__list li a {
    display: block;
    padding: 14px 0;
    color: var(--nav-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.15s;
}

.spenfse-mobile-nav__list li a:hover,
.spenfse-mobile-nav__list li.current-menu-item > a {
    color: var(--nav-hover);
}

/* Mobile sub-menu */
.spenfse-mobile-nav__list .sub-menu {
    list-style: none;
    padding: 0 0 0 16px;
    margin: 0;
}

.spenfse-mobile-nav__list .sub-menu li a {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 10px 0;
    color: var(--e-global-color-primary);
    opacity: 0.75;
}

/* Mobile CTA */
.spenfse-mobile-cta {
    align-self: flex-start;
    margin-top: 8px;
}

/* ── Desktop nav list ── */
.spenfse-nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.spenfse-nav__list > li {
    position: relative;
}

.spenfse-nav__list > li > a {
    display: block;
    padding: 8px 14px;
    color: var(--nav-color);
    text-decoration: none;
    font-size: var(--header-font-size);
    font-weight: 500;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.spenfse-nav__list > li > a:hover,
.spenfse-nav__list > li.current-menu-item > a,
.spenfse-nav__list > li.current-page-ancestor > a {
    color: var(--nav-hover);
    background: rgba(212, 154, 58, 0.08); /* accent/gold tint */
}

/* Dropdown sub-menu */
.spenfse-nav__list .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: var(--e-global-color-8706898);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 10;
}

.spenfse-nav__list li:hover > .sub-menu,
.spenfse-nav__list li:focus-within > .sub-menu {
    display: block;
}

.spenfse-nav__list .sub-menu li a {
    display: block;
    padding: 9px 18px;
    color: var(--nav-color);
    text-decoration: none;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}

.spenfse-nav__list .sub-menu li a:hover {
    color: var(--nav-hover);
    background: rgba(212, 154, 58, 0.08);
}

/* ── ABSites search item in desktop nav ── */
.spenfse-header__nav .wc-custom-search-menu-item {
    position: relative;
    display: flex;
    align-items: center;
}

.spenfse-header__nav .search-trigger {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: var(--nav-color);
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.spenfse-header__nav .search-trigger:hover {
    color: var(--nav-hover);
    background: rgba(212, 154, 58, 0.08);
}

.spenfse-header__nav .wc-custom-search-text {
    display: none;
}

.spenfse-header__nav .search-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: var(--e-global-color-8706898);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    border-radius: 6px;
    padding: 14px;
    z-index: 20;
}

.spenfse-header__nav .search-popup .search-form {
    display: flex;
    gap: 8px;
}

.spenfse-header__nav .search-popup .search-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 4px;
    font-size: 0.9rem;
    margin: 0;
    color: var(--e-global-color-e117629);
    background: #fff;
}

.spenfse-header__nav .search-popup .search-submit {
    padding: 8px 14px;
    background: var(--e-global-color-primary);
    color: var(--e-global-color-8706898);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.spenfse-header__nav .search-popup .search-submit:hover {
    background: var(--e-global-color-accent);
}

/* Offset page content so sticky header doesn't overlap */
.page-header {
    margin-top: 0;
}

/* ── Tablet / Desktop breakpoint ── */
@media (min-width: 1024px) {
    .spenfse-header__nav {
        display: flex;
    }

    .spenfse-header__actions {
        display: flex;
    }

    button.spenfse-header__burger,
    .spenfse-header__burger {
        display: none !important;
    }
}



/* =============================================================================
   SPENFSE FOOTER
   ============================================================================= */

:root {
    --footer-bg: #ffffff;
    --footer-text: var(--e-global-color-primary);     /* Navy Blue */
    --footer-muted: #5a6485;                          /* softer navy */
    --footer-heading: var(--e-global-color-primary);
    --footer-link-hover: var(--e-global-color-accent); /* Gold */
    --footer-border: #e3e7f1;
    --footer-icon: var(--e-global-color-primary);
}

.spenfse-footer {
    margin-top: 50px;
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
    font-size: 0.92rem;
    line-height: 1.6;
}

.spenfse-footer__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 48px 10px 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) {
    .spenfse-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .spenfse-footer__inner {
        grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
        gap: 40px;
        padding: 56px 10px 40px;
    }
}

@media (min-width: 1280px) {
    .spenfse-footer__inner {
        padding: 64px 10px 48px;
    }
}

/* ── Column headings ── */
.spenfse-footer__heading {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--footer-heading);
    margin: 0 0 18px;
}

/* ── Col 1: brand / logo ── */
.spenfse-footer__col--brand .spenfse-footer__logo .custom-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.spenfse-footer__sitename {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--footer-text);
    text-decoration: none;
}

.spenfse-footer__tagline {
    margin: 14px 0 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--footer-muted);
    max-width: 320px;
}

/* ── Col 2: navegação ── */
.spenfse-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spenfse-footer__nav-list li {
    margin: 0 0 10px;
}

.spenfse-footer__nav-list a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.spenfse-footer__nav-list a:hover,
.spenfse-footer__nav-list a:focus {
    color: var(--footer-link-hover);
}

/* ── Col 3: contactos ── */
.spenfse-footer__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spenfse-footer__contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 14px;
}

.spenfse-footer__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(27, 42, 78, 0.08);
    color: var(--footer-icon);
}

.spenfse-footer__icon svg {
    width: 18px;
    height: 18px;
}

.spenfse-footer__contact-text {
    color: var(--footer-text);
}

.spenfse-footer__contact-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.spenfse-footer__contact-text a:hover,
.spenfse-footer__contact-text a:focus {
    color: var(--footer-link-hover);
}

/* ── Col 4: social ── */
.spenfse-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Defensive overrides: parent reset (`a { color:#c36 }`) and
   Elementor kit (`.elementor-kit-* a { color: navy }`)
   would otherwise tint the SVG icons navy-on-navy (invisible). */
.elementor-kit-8 .spenfse-footer__social a,
.spenfse-footer__social a,
.spenfse-footer__social a:link,
.spenfse-footer__social a:visited {
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background-color: #1B2A4E !important;  /* Navy */
    color: #ffffff !important;
    text-decoration: none !important;
    border: 0 !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.elementor-kit-8 .spenfse-footer__social a:hover,
.elementor-kit-8 .spenfse-footer__social a:focus,
.spenfse-footer__social a:hover,
.spenfse-footer__social a:focus {
    background-color: #D49A3A !important;  /* Gold */
    color: #ffffff !important;
    transform: translateY(-2px);
}

.spenfse-footer__social a svg {
    width: 16px;
    height: 16px;
    fill: #ffffff !important;
    color: #ffffff !important;
    display: block;
}

/* ── Bottom bar ── */
.spenfse-footer__bottom {
    border-top: 1px solid var(--footer-border);
}

.spenfse-footer__bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--footer-muted);
}

@media (min-width: 768px) {
    .spenfse-footer__bottom-inner {
        flex-direction: row;
        align-items: center;
        padding: 18px 10px;
    }
}

@media (min-width: 1280px) {
    .spenfse-footer__bottom-inner {
        padding: 20px 60px;
    }
}

.spenfse-footer__copy {
    margin: 0;
}

.spenfse-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.spenfse-footer__legal a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.spenfse-footer__legal a:hover,
.spenfse-footer__legal a:focus {
    color: var(--footer-link-hover);
}