/* Optional Yatosha website shell.
 * The source website dimensions are reproduced here while every rule remains
 * inert until an administrator enables the branded header or footer. */
:root {
    --ux-brand-ink: #071a2b;
    --ux-brand-text: #142330;
    --ux-brand-muted: #5d6a75;
    --ux-brand-border: #dde2e6;
    --ux-brand-surface: #f2f4f5;
    --ux-brand-accent: #086f98;
    --ux-brand-header-height: 129.75px;
}

.ux-brand-header,
.ux-brand-footer {
    box-sizing: border-box;
    font-family: Montserrat, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.ux-brand-header *,
.ux-brand-footer * { box-sizing: border-box; }

/* Header and evergreen announcement */
.ux-brand-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;
    height: var(--ux-brand-header-height);
    background: #fff;
    color: var(--ux-brand-text);
}
.ux-brand-announcement {
    /* Let the 44px inner row plus its hairline border match the source header exactly. */
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid rgba(125, 211, 252, .16);
    background: var(--ux-brand-ink);
    color: #eaf4f8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2px;
}
.ux-brand-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    min-height: 44px;
    padding: 0 48px;
}
.ux-brand-announcement-message,
.ux-brand-announcement a { display: inline-flex; align-items: center; }
.ux-brand-announcement-message { gap: 9px; line-height: 1.45; }
.ux-brand-announcement-message > i { color: #7dd3fc; font-size: 16px; }
.ux-brand-announcement-message strong { color: #fff; font-weight: 700; }
.ux-brand-announcement a {
    flex: 0 0 auto;
    gap: 6px;
    color: #7dd3fc;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
.ux-brand-announcement a:hover,
.ux-brand-announcement a:focus-visible { color: #fff; text-decoration: none; transform: translateX(2px); }

.ux-brand-navbar {
    position: relative;
    /* The source navbar is content-sized from its padded logo anchor. */
    height: auto;
    padding: 16px 0;
    border-bottom: 1px solid var(--ux-brand-border);
    background: #fff;
}
.ux-brand-header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 0 48px;
}
.ux-brand-logo {
    /* Inline-block preserves the same image baseline and vertical rhythm as the original HTML. */
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin-right: 32px;
    padding: 5px 0;
    font-size: 20px;
    line-height: 30px;
}
.ux-brand-logo img { display: inline-block; width: auto; height: 40px; vertical-align: text-top; }
.ux-brand-navigation {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
}
.ux-brand-primary {
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ux-brand-primary > li { position: relative; display: flex; align-items: center; }
.ux-brand-secondary { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.ux-brand-primary > li > a,
.ux-brand-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: auto;
    padding: 8px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ux-brand-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}
.ux-brand-primary > li > a:hover,
.ux-brand-primary > li > a:focus-visible,
.ux-brand-dropdown-toggle:hover,
.ux-brand-dropdown-toggle:focus-visible,
.ux-brand-dropdown.is-open > .ux-brand-dropdown-toggle { color: var(--ux-brand-accent); text-decoration: none; outline: 0; }
.ux-brand-dropdown-toggle .fa-chevron-down { margin-left: 2px; color: currentColor; font-size: 9px; transition: transform .18s ease; }
.ux-brand-dropdown-toggle { gap: 1.2px; }
.ux-brand-dropdown.is-open > .ux-brand-dropdown-toggle .fa-chevron-down { transform: rotate(180deg); }

.ux-brand-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2010;
    display: none;
    min-width: 280px;
    margin: 0;
    padding: 10px;
    border: 1px solid #e4eaf1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .14);
}
.ux-brand-dropdown.is-open > .ux-brand-dropdown-panel { display: block; }
.ux-brand-mega-parent { position: static !important; }
.ux-brand-mega-menu {
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    padding: 32px;
    border: 0;
    border-top: 1px solid var(--ux-brand-border);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.ux-brand-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 36px;
}
/* Bootstrap's original row/column gutters are reproduced without depending on its version. */
.ux-brand-mega-grid > .ux-brand-mega-column { padding: 0 12px; }
.ux-brand-mega-title {
    display: block;
    margin-bottom: 16px;
    color: var(--ux-brand-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ux-brand-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 21px;
    transition: background-color .2s ease, transform .2s ease;
}
.ux-brand-mega-item:hover { background: var(--ux-brand-surface); transform: translateX(3px); }
.ux-brand-mega-icon {
    display: inline-grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #eef1f3;
    color: #3d5668;
    font-size: 16px;
}
.ux-brand-mega-item:hover .ux-brand-mega-icon { background: var(--ux-brand-accent); color: #fff; }
.ux-brand-mega-copy { min-width: 0; }
.ux-brand-mega-link { display: block; color: var(--ux-brand-ink); font-size: 15px; font-weight: 600; line-height: 22.5px; text-decoration: none; }
.ux-brand-mega-link:hover { color: var(--ux-brand-accent); text-decoration: none; }
.ux-brand-mega-desc { display: block; margin-top: 2px; color: var(--ux-brand-muted); font-size: 13px; font-weight: 400; line-height: 19.5px; }
.ux-brand-mega-callout { align-self: start; padding: 24px; border: 1px solid var(--ux-brand-border); border-radius: 4px; background: #f8f9fa; }
.ux-brand-mega-callout h3 { margin: 0 0 8px; color: #212529; font-size: 16px; font-weight: 700; line-height: 24px; }
.ux-brand-mega-callout p { margin: 0 0 16px; color: #6c757d; font-size: 14px; line-height: 21px; }
.ux-brand-mega-callout a { display: block; padding: 6px 12px; border-radius: 4px; background: #212529; color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; text-decoration: none; }

.ux-brand-compact-menu { padding: 10px; }
.ux-brand-contact-menu { right: 0; left: auto; min-width: 304px; }
.ux-brand-dropdown-heading { display: block; padding: 10px 12px 7px; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ux-brand-compact-menu a { display: block; padding: 12px; border-radius: 8px; color: var(--ux-brand-ink); text-decoration: none; white-space: normal; }
.ux-brand-compact-menu a strong,
.ux-brand-compact-menu a small { display: block; }
.ux-brand-compact-menu a strong { font-size: 14px; font-weight: 700; }
.ux-brand-compact-menu a small { margin-top: 3px; color: var(--ux-brand-muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.ux-brand-compact-menu a:hover,
.ux-brand-compact-menu a:focus-visible { background: #f1f3f4; color: var(--ux-brand-accent); outline: 0; text-decoration: none; }

.ux-brand-actions { display: flex; align-items: center; gap: 10.4px; margin-left: 16px; padding-left: 0; }
.ux-brand-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.ux-brand-actions svg { flex: 0 0 auto; width: 18px; height: 18px; }
.ux-brand-client-link { border-color: #b9c5cd !important; background: #fff; color: #132a3a; }
.ux-brand-client-link:hover,
.ux-brand-client-link:focus-visible { border-color: var(--ux-brand-accent) !important; background: #f3f6f7; color: #075b7d; text-decoration: none; }
.ux-brand-order-link { border-color: var(--ux-brand-accent) !important; background: var(--ux-brand-accent); color: #fff; }
.ux-brand-client-link { min-width: 93.14px; }
.ux-brand-order-link { min-width: 113.18px; }
.ux-brand-order-link:hover,
.ux-brand-order-link:focus-visible { border-color: #075b7d !important; background: #075b7d; color: #fff; text-decoration: none; transform: translateY(-1px); }
.ux-brand-menu-toggle { display: none; }

@media (min-width: 1200px) {
    .ux-brand-dropdown:hover > .ux-brand-dropdown-panel,
    .ux-brand-dropdown:focus-within > .ux-brand-dropdown-panel { display: block; animation: ux-brand-menu-enter .18s ease-out both; }
    .ux-brand-dropdown:hover > .ux-brand-dropdown-toggle,
    .ux-brand-dropdown:focus-within > .ux-brand-dropdown-toggle { color: var(--ux-brand-accent); }
}
@keyframes ux-brand-menu-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Keep Blesta's authenticated controls directly below the branded shell. */
@media (min-width: 992px) {
    body.ux-branded-header:not([class*="client-client_login"]) { padding-top: var(--ux-brand-header-height) !important; }
    /* The branded website header already provides the logo and primary site
     * navigation. Use one compact client row beneath it instead of retaining
     * the old cyan date strip as a redundant middle header. */
    body.ux-branded-header.ux-layout-topbar:not([class*="client-client_login"]) { padding-top: calc(52px + var(--ux-brand-header-height)) !important; }
    body.ux-branded-header.ux-layout-topbar:not([class*="client-client_login"]) .header,
    body.ux-branded-header.ux-layout-topbar:not([class*="client-client_login"]) .title { display: none !important; }
    body.ux-branded-header:not([class*="client-client_login"]) .header,
    body.ux-branded-header:not([class*="client-client_login"]) .title { top: var(--ux-brand-header-height) !important; }
    body.ux-branded-header.ux-layout-sidebar:not([class*="client-client_login"]) .nav-content { top: var(--ux-brand-header-height) !important; }
    body.ux-branded-header.ux-layout-topbar:not([class*="client-client_login"]) .nav-content { top: var(--ux-brand-header-height) !important; }
    body.ux-branded-header:not([class*="client-client_login"]) .ux-sidebar-toggle,
    body.ux-branded-header:not([class*="client-client_login"]) .ux-topbar-cart,
    body.ux-branded-header:not([class*="client-client_login"]) .nav-content .ux-account-nav { top: calc(var(--ux-brand-header-height) + 10.5px) !important; }
    body.ux-branded-header.ux-logo-hidden.ux-layout-sidebar:not([class*="client-client_login"]) .nav-content { inset: var(--ux-brand-header-height) auto 0 0 !important; }
    body.ux-branded-header.ux-logo-hidden.ux-layout-topbar:not([class*="client-client_login"]) .title { inset: var(--ux-brand-header-height) 0 auto 0 !important; }
    body.ux-branded-header.ux-logo-hidden.ux-layout-sidebar:not([class*="client-client_login"]) .ux-sidebar-toggle { top: calc(var(--ux-brand-header-height) + 17px) !important; }
    body.ux-branded-header.ux-logo-hidden:not([class*="client-client_login"]) .header .badge { top: calc(var(--ux-brand-header-height) + 10.5px) !important; }

    /* Cart and customer controls now live inside the dark client menu. Absolute
     * positioning keeps the primary links flexible while preserving a reliable
     * action area for long customer names. */
    body.ux-branded-header.ux-layout-topbar:not([class*="client-client_login"]) .ux-topbar-cart {
        position: absolute !important;
        top: 4px !important;
        right: 244px !important;
        z-index: 2 !important;
    }
    body.ux-branded-header.ux-layout-topbar:not([class*="client-client_login"]) .nav-content .ux-account-nav {
        position: absolute !important;
        top: 4px !important;
        right: 30px !important;
        z-index: 2 !important;
    }
}

body.ux-branded-header[class*="client-client_login"] { padding-top: var(--ux-brand-header-height) !important; overflow-x: hidden !important; overflow-y: auto !important; }
body.ux-branded-footer[class*="client-client_login"] { overflow-x: hidden !important; overflow-y: auto !important; }
body.ux-branded-header[class*="client-client_login"] .auth-layout {
    min-height: calc(100dvh - var(--ux-brand-header-height)) !important;
}
/* The centered authentication card should wrap its form content. Stretching
 * the card to the header-adjusted viewport creates an empty white column. */
body.ux-branded-header[class*="client-client_login"] .auth-pane {
    min-height: 0 !important;
    max-height: none !important;
}

/* Footer: exact five-column source proportions and 1560px desktop canvas. */
body.ux-branded-footer .ux-brand-footer { display: block !important; }
.ux-brand-footer {
    position: relative;
    z-index: 1085;
    width: 100%;
    margin: 0;
    padding: clamp(64px, 7vw, 96px) 0 24px;
    overflow: hidden;
    background: var(--ux-brand-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}
.ux-brand-footer-inner { width: min(1560px, calc(100% - 48px)); margin: 0 auto; }
.ux-brand-footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 0; width: calc(100% + 24px); margin-right: -12px; margin-left: -12px; }
.ux-brand-footer-about,
.ux-brand-footer-column { padding: 0 12px; }
.ux-brand-footer-about h2,
.ux-brand-footer-column h2 { margin: 0 0 20px; color: #f4f8fb; font-size: 12.5px; font-weight: 700; line-height: 19px; letter-spacing: .09em; text-transform: uppercase; }
.ux-brand-footer-about p { max-width: 430px; margin: 16px 0 28px; color: #adbfcd; font-size: 14px; font-weight: 500; line-height: 24.5px; }
.ux-brand-contact-list > div { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #b8c8d4; font-weight: 500; }
.ux-brand-contact-list i { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(169, 213, 228, .18); border-radius: 9px; color: #a9d5e4; }
.ux-brand-social { display: flex; gap: 12px; margin-top: 24px; }
.ux-brand-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(169, 213, 228, .17); border-radius: 9px; background: rgba(255, 255, 255, .04); color: #c9d7e1; transition: all .2s ease; }
.ux-brand-social a:hover,
.ux-brand-social a:focus-visible { background: #a9d5e4; color: #08243a; transform: translateY(-2px); text-decoration: none; }
.ux-brand-footer-column ul { margin: 0; padding: 0; list-style: none; }
.ux-brand-footer-column li { margin-bottom: 11.5px; }
.ux-brand-footer a { color: #9fb1c0; text-decoration: none; }
.ux-brand-footer-column a { display: inline-block; font-weight: 500; line-height: 20px; transition: color .2s ease, transform .2s ease; }
.ux-brand-footer-column a:hover,
.ux-brand-footer-column a:focus-visible { color: #a9d5e4; transform: translateX(3px); text-decoration: none; }
.ux-brand-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); text-align: left; }
.ux-brand-footer-copyright { max-width: 950px; color: #8499a9; font-size: 13px; font-weight: 500; line-height: 23px; }
.ux-brand-footer-copyright a { color: #8499a9; }
.ux-brand-footer-copyright a:hover { color: #a9d5e4; }
.ux-brand-accreditation { display: flex; align-items: center; flex: 0 0 auto; gap: 16px; }
.ux-brand-accreditation span { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 58px; padding: 6px; border: 1px solid rgba(125, 211, 252, .18); border-radius: 18px; background: #fff; }
.ux-brand-accreditation img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }

/* CMS Pro keeps a restrained WhatsApp shortcut on the left edge. Its compact
 * circular form follows the 2026 template's rounded controls and soft shadow
 * language without covering page content or the mobile navigation. */
.ux-whatsapp-widget {
    position: fixed;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 24px;
    z-index: 1990;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 12px 28px rgba(7, 26, 43, .24);
    color: #fff;
    font-size: 29px;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ux-whatsapp-widget:hover,
.ux-whatsapp-widget:focus {
    background: #1faf55;
    box-shadow: 0 16px 34px rgba(7, 26, 43, .3);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}
.ux-whatsapp-widget:focus-visible {
    outline: 3px solid rgba(37, 211, 102, .3);
    outline-offset: 4px;
}

@media (max-width: 1199.98px) {
    :root { --ux-brand-header-height: 118.125px; }
    .ux-brand-announcement { height: auto; }
    .ux-brand-announcement-inner { min-height: 48px; padding: 0 16px; }
    .ux-brand-navbar { height: auto; padding: 11.2px 0; font-size: 16px; line-height: 24px; }
    .ux-brand-header-inner { height: auto; padding: 0 16px; }
    .ux-brand-logo { height: auto; margin-right: 16px; }
    .ux-brand-logo img { height: 36px; }
    .ux-brand-menu-toggle { display: grid; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin-left: auto; padding: 8.8px; border: 0; border-radius: 10px; background: transparent; color: rgba(0, 0, 0, .65); font: inherit; font-size: 20px; font-weight: 400; line-height: 20px; }
    .ux-brand-menu-toggle > span:last-child { display: none; }
    .ux-brand-menu-toggle:focus-visible { outline: 3px solid rgba(8, 111, 152, .2); }
    .ux-brand-navigation { position: fixed; top: var(--ux-brand-header-height); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; height: auto; max-height: calc(100dvh - var(--ux-brand-header-height)); margin: 0; padding: 11px 16px 16px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--ux-brand-border); background: #fff; box-shadow: 0 18px 34px rgba(10, 29, 44, .16); }
    .ux-brand-header.is-menu-open .ux-brand-navigation { display: flex; }
    .ux-brand-primary { align-items: stretch; flex-direction: column; width: 100%; height: auto; }
    .ux-brand-secondary { align-items: stretch; flex-direction: column; width: 100%; gap: 0; margin-left: 0; }
    .ux-brand-primary > li { display: block; width: 100%; }
    .ux-brand-primary > li > a,
    .ux-brand-dropdown-toggle { display: flex; justify-content: space-between; width: 100%; min-height: 46px; padding: 11px 12px; border-radius: 8px; }
    .ux-brand-dropdown-panel,
    .ux-brand-mega-menu { position: static; width: 100%; min-width: 0; margin: 3px 0 10px; padding: 10px; border: 1px solid var(--ux-brand-border); border-radius: 10px; box-shadow: none; }
    .ux-brand-mega-grid { grid-template-columns: 1fr; gap: 10px; margin: 0; }
    .ux-brand-mega-grid > .ux-brand-mega-column { padding: 0; }
    .ux-brand-mega-title { margin: 10px 11px 6px; }
    .ux-brand-mega-item { padding: 10px 11px; }
    .ux-brand-mega-item:hover { transform: none; }
    .ux-brand-mega-callout { margin-top: 5px; }
    .ux-brand-contact-menu { min-width: 0; }
    .ux-brand-actions { width: 100%; margin: 6px 0 0; padding: 14px 12px 0; flex-wrap: wrap; border-top: 1px solid var(--ux-brand-border); }
    .ux-brand-actions a { flex: 1 1 130px; min-height: 44px; }
    .ux-brand-footer-inner { width: min(920px, calc(100% - 32px)); }
    .ux-brand-footer-grid { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
    .ux-brand-footer-about { grid-column: 1 / -1; }
    .ux-brand-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
    body.ux-branded-header:not([class*="client-client_login"]) { padding-top: var(--ux-brand-header-height) !important; }
    body.ux-branded-header:not([class*="client-client_login"]) .header { top: var(--ux-brand-header-height) !important; }
    body.ux-branded-header:not([class*="client-client_login"]) .nav-content { top: var(--ux-brand-header-height) !important; }
    .ux-brand-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .ux-brand-announcement-inner { justify-content: space-between; gap: 10px; padding: 0 16px; }
    .ux-brand-announcement,
    .ux-brand-announcement a { font-size: 13px; line-height: 19.5px; }
    .ux-brand-announcement-message > i,
    .ux-brand-announcement-detail { display: none; }
    .ux-brand-announcement a { white-space: nowrap; }
    .ux-brand-header-inner { padding: 0 12px; }
    .ux-brand-logo img { height: 34px; }
    .ux-brand-footer-inner { width: min(560px, calc(100% - 20px)); }
    .ux-brand-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ux-brand-footer-about { grid-column: 1 / -1; }
    .ux-brand-footer-about,
    .ux-brand-footer-column { padding: 0 10px; }
    .ux-brand-accreditation { width: 100%; justify-content: flex-start; }
    .ux-whatsapp-widget {
        bottom: max(16px, env(safe-area-inset-bottom));
        left: 16px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ux-brand-header *,
    .ux-brand-footer *,
    .ux-whatsapp-widget { animation: none !important; transition: none !important; }
    .ux-whatsapp-widget:hover,
    .ux-whatsapp-widget:focus { transform: none; }
}
