/* TRIFACIX header + footer — mockup palette (navy / lime / paper, Manrope) */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

#trifacix-header {
    --navy: #122c35;
    --deep: #0b222b;
    --lime: #e4ef74;
    --ink: #18343d;
    --muted: #597079;
    --paper: #f2f5f4;
    --line: #d9e1e0;
    --gold: #789229;
    font-family: Manrope, Arial, Helvetica, sans-serif;
    color: var(--ink);
    width: 100%;
}
header#top:has(#trifacix-header) {
    background: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}
header#top:has(#trifacix-header) > nav.navbar {
    display: none !important;
}
#trifacix-header .site-header {
    min-height: 92px;
    padding: 20px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #fff;
    position: relative;
    z-index: 40;
    border-bottom: 1px solid var(--line);
}
#trifacix-header .site-header.scrolled {
    box-shadow: 0 4px 22px #122c3508;
}
#trifacix-header .brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}
#trifacix-header .brand .trifacix-logo img,
#trifacix-header .brand img {
    height: 34px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}
#trifacix-header .wordmark {
    font-weight: 800;
    letter-spacing: -.07em;
    font-size: 30px;
    display: flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    color: var(--navy);
    text-decoration: none;
    flex-shrink: 0;
}
#trifacix-header .wordmark .mark {
    display: inline-grid;
    place-items: center;
    background: var(--navy);
    color: var(--lime);
    width: 34px;
    height: 34px;
    font-size: 25px;
    margin-right: 9px;
    letter-spacing: 0;
    transform: skew(-7deg);
}
#trifacix-header .wordmark .brand-dot {
    color: #91a537;
}
#trifacix-header #navigation {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    flex: 1;
}
#trifacix-header #navigation .trifacix-nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#trifacix-header #navigation .trifacix-nav-list > li {
    list-style: none;
    margin: 0;
    padding: 0;
}
#trifacix-header #navigation a {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}
#trifacix-header #navigation a:hover,
#trifacix-header #navigation a.active {
    color: var(--gold);
}
#trifacix-header #navigation .dropdown-menu {
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 8px 0;
}
#trifacix-header .button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    font-size: 14px;
    font-weight: 800;
    padding: 16px 22px;
    min-height: 52px;
    border: 0;
    cursor: pointer;
    background: var(--paper);
    color: var(--navy);
    text-decoration: none;
    border-radius: 0;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}
#trifacix-header .button:hover {
    transform: translateY(-2px);
    background: #d8e0de;
    color: var(--navy);
}
#trifacix-header .button span {
    font-size: 22px;
    line-height: 1;
}
#trifacix-header .header-cta {
    background: var(--navy);
    color: #fff !important;
}
#trifacix-header .header-cta:hover {
    background: #28515e;
    color: #fff !important;
}
#trifacix-header .menu-button {
    display: none;
    gap: 12px;
    background: none;
    border: 0;
    font-size: 14px;
    font-weight: 700;
    align-items: center;
    color: var(--navy);
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
#trifacix-header .menu-button span {
    font-size: 20px;
}
#trifacix-header .nav-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
#trifacix-header .nav-tools > li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
#trifacix-header .header-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: transparent;
    text-decoration: none;
    padding: 0;
    line-height: 1;
    font-size: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
#trifacix-header .header-icon:hover {
    background: var(--lime);
    color: var(--navy);
    border-color: var(--lime);
    transform: translateY(-1px);
}
#trifacix-header .header-icon:active {
    transform: translateY(0);
}
#trifacix-header .header-icon .fa,
#trifacix-header .header-icon .oi,
#trifacix-header .header-icon .fa-stack {
    font-size: 14px;
    line-height: 1;
    width: auto;
    height: auto;
}
#trifacix-header .o_wsale_my_cart .header-icon,
#trifacix-header .o_wsale_my_cart > a {
    position: relative;
}
#trifacix-header .header-icon .my_cart_quantity,
#trifacix-header .trifacix-cart-badge,
#trifacix-header .my_cart_quantity {
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    background: var(--lime);
    color: var(--navy);
    border-radius: 9px;
    position: absolute;
    top: -5px;
    right: -5px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(18, 44, 53, 0.15);
}
#trifacix-header .nav-tools .o_no_autohide_item > a.header-icon {
    font-size: 11px;
    font-weight: 700;
    width: auto;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 0;
    letter-spacing: .02em;
}
#trifacix-header .trifacix-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    min-width: 36px;
    padding: 0 12px;
    border-radius: 18px;
    border: 1px solid var(--line) !important;
    background: #fff;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
#trifacix-header .trifacix-lang-btn::before {
    content: "\f0ac";
    font-family: FontAwesome, "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0;
    opacity: 0.7;
}
#trifacix-header .trifacix-lang-btn .fa,
#trifacix-header .trifacix-lang-btn .oi {
    font-size: 14px;
    opacity: 0.7;
}
#trifacix-header .trifacix-lang-btn:hover,
#trifacix-header .trifacix-lang-btn:focus-visible {
    background: var(--lime);
    color: var(--navy);
    border-color: var(--lime) !important;
    transform: translateY(-1px);
}
#trifacix-header .trifacix-lang-btn:active {
    transform: translateY(0);
}
#trifacix-header .o_header_language_selector .dropdown-menu {
    min-width: 120px;
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 0;
    box-shadow: 0 8px 24px rgba(18, 44, 53, 0.1);
    background: #fff;
    animation: trifacixFadeInDown 0.15s ease;
}
#trifacix-header .o_header_language_selector .dropdown-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
#trifacix-header .o_header_language_selector .dropdown-item.active,
#trifacix-header .o_header_language_selector .dropdown-item:hover {
    color: var(--navy);
    background: var(--paper);
}
#trifacix-header .o_header_language_selector .dropdown-item.active::before {
    content: "\2713";
    font-size: 12px;
    color: var(--gold);
}
#trifacix-header .trifacix-user > a.header-icon {
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.15s ease;
}
#trifacix-header .nav-tools .trifacix-user.o_no_autohide_item > a.header-icon {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
}
#trifacix-header .trifacix-user > a.header-icon img,
#trifacix-header .trifacix-user .dropdown-toggle img {
    width: 36px;
    height: 36px;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
}
#trifacix-header .trifacix-user .dropdown-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: #fff;
    padding: 0;
}
#trifacix-header .trifacix-user > a.header-icon:hover,
#trifacix-header .trifacix-user .dropdown-toggle:hover {
    border-color: var(--lime);
    background: transparent;
    transform: translateY(-1px);
}
#trifacix-header .trifacix-user .dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(18, 44, 53, 0.12);
    padding: 8px 0;
    min-width: 180px;
    animation: trifacixFadeInDown 0.15s ease;
}
#trifacix-header .trifacix-user .dropdown-item {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s ease;
}
#trifacix-header .trifacix-user .dropdown-item:hover {
    background: var(--paper);
}
#trifacix-header .trifacix-user .dropdown-item .fa {
    color: var(--gold);
}
#trifacix-header .trifacix-text-elt {
    font-size: 11px;
    color: var(--muted);
    max-width: 160px;
}
#trifacix-header .trifacix-odoo-cta .btn_cta {
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px;
}
#trifacix-header .o_header_social_links a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
#trifacix-header .o_header_social_links a:hover {
    color: var(--navy);
    background: var(--lime);
    transform: translateY(-2px);
}
#trifacix-header .o_header_social_links .fa {
    font-size: 14px;
}
@keyframes trifacixFadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1600px) {
    #trifacix-header .site-header {
        padding-left: max(4%, calc((100% - 1440px) / 2));
        padding-right: max(4%, calc((100% - 1440px) / 2));
    }
}
@media (max-width: 1100px) {
    #trifacix-header #navigation,
    #trifacix-header #navigation .trifacix-nav-list { gap: 16px; }
    #trifacix-header .wordmark { font-size: 25px; }
    #trifacix-header .header-cta { padding: 12px; font-size: 12px; gap: 10px; min-height: 44px; }
}
@media (max-width: 760px) {
    #trifacix-header .site-header {
        padding: 18px 6%;
        min-height: 74px;
        flex-wrap: wrap;
        gap: 0;
    }
    #trifacix-header .header-cta { display: none; }
    #trifacix-header .menu-button { display: flex; margin-left: auto; }
    #trifacix-header .nav-tools { order: 2; }
    #trifacix-header #navigation {
        display: none;
        width: 100%;
        padding-top: 25px;
        flex-direction: column;
        gap: 18px;
        flex-basis: 100%;
        order: 5;
    }
    #trifacix-header #navigation.open { display: flex; }
    #trifacix-header #navigation .trifacix-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        width: 100%;
    }
    #trifacix-header #navigation a {
        font-size: 16px;
        display: block;
        padding: 4px 0;
    }
}


#trifacix-footer {
    --navy: #122c35;
    --lime: #e4ef74;
    --gold: #789229;
    --ink: #18343d;
    --muted: #597079;
    --paper: #f2f5f4;
    --line: #d9e1e0;
    font-family: Manrope, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    padding: 0;
    width: 100%;
}
footer[data-name="Footer"]:has(#trifacix-footer) {
    background: #fff !important;
    color: var(--ink) !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
body:has(#trifacix-footer) #footer,
body:has(#trifacix-footer) .o_footer_copyright {
    display: none !important;
}
#trifacix-footer .container {
    width: min(1220px, calc(100% - 96px));
    margin: 0 auto;
}
#trifacix-footer .trifacix-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px 0;
}
#trifacix-footer .trifacix-footer-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
}
#trifacix-footer .trifacix-footer-brand img,
#trifacix-footer .trifacix-footer-logo-img img {
    height: 34px;
    width: auto;
    max-width: 158px;
    display: block;
    object-fit: contain;
}
#trifacix-footer .wordmark {
    font-weight: 800;
    letter-spacing: -.07em;
    font-size: 26px;
    display: flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    color: var(--navy);
    text-decoration: none;
    flex-shrink: 0;
}
#trifacix-footer .wordmark .mark {
    display: inline-grid;
    place-items: center;
    background: var(--navy);
    color: var(--lime);
    width: 30px;
    height: 30px;
    font-size: 22px;
    margin-right: 8px;
    letter-spacing: 0;
    transform: skew(-7deg);
}
#trifacix-footer .wordmark .brand-dot {
    color: #91a537;
}
#trifacix-footer .trifacix-footer-tagline {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
    flex: 1;
}
#trifacix-footer .trifacix-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
    color: var(--ink);
    flex-shrink: 0;
}
#trifacix-footer .trifacix-footer-meta small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}
#trifacix-footer .trifacix-back-top {
    padding: 12px 19px;
    border: 1px solid var(--line);
    color: var(--navy);
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
}
#trifacix-footer .trifacix-back-top:hover {
    background: var(--lime);
    color: var(--navy);
    border-color: var(--lime);
}
#trifacix-footer .trifacix-footer-links-nav {
    padding: 22px 0 8px;
    border-top: 1px solid var(--line);
}
#trifacix-footer .trifacix-footer-links-title {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}
#trifacix-footer .trifacix-footer-links-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
}
#trifacix-footer .trifacix-footer-links-row a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}
#trifacix-footer .trifacix-footer-links-row a:hover {
    color: var(--gold);
    text-decoration: underline;
}
#trifacix-footer .footer-legal {
    border-top: 1px solid var(--line);
    padding: 16px 0 26px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
}
#trifacix-footer .footer-legal p {
    margin: 0;
}
#trifacix-footer .footer-legal strong {
    font-weight: 650;
    color: var(--navy);
}
#trifacix-footer .footer-legal a {
    color: var(--muted);
    text-decoration: underline;
}
#trifacix-footer .nw {
    white-space: nowrap;
}
#trifacix-footer .wa-ico {
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.2em;
}
#trifacix-footer .wa-link {
    color: #25D366 !important;
    font-weight: 600;
}
body:has(#trifacix-footer) .o_standard_footer_links {
    display: none !important;
}
@media (max-width: 1180px) {
    #trifacix-footer .container { width: calc(100% - 64px); }
}
@media (max-width: 800px) {
    #trifacix-footer .container { width: calc(100% - 40px); }
    #trifacix-footer .trifacix-footer-main {
        flex-wrap: wrap;
        padding: 32px 0;
        gap: 16px;
    }
    #trifacix-footer .trifacix-footer-tagline {
        flex-basis: 100%;
        order: 3;
    }
    #trifacix-footer .trifacix-footer-meta {
        margin-left: auto;
    }
    #trifacix-footer .trifacix-footer-links-nav {
        padding-top: 18px;
    }
}
@media (max-width: 540px) {
    #trifacix-footer .container { width: calc(100% - 36px); }
    #trifacix-footer .trifacix-footer-main { padding: 28px 0; }
    #trifacix-footer .wordmark { font-size: 22px; }
    #trifacix-footer .trifacix-footer-brand img,
    #trifacix-footer .trifacix-footer-logo-img img { height: 28px; }
    #trifacix-footer .trifacix-footer-tagline { font-size: 12px; }
    #trifacix-footer .trifacix-footer-links-row a { font-size: 11px; }
}
