.samco-top-navbar {
    position: relative;
    z-index: 20;
    padding: 6px 14px 8px;
}

.samco-plugin-nav,
.samco-top-navbar__shell {
    width: 100%;
}

.samco-top-navbar__shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.35rem 0.85rem;
    border-radius: 1.4rem;
    background: rgba(14, 14, 14, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.09);
    /* box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24); */
    backdrop-filter: blur(18px);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.45rem;
}

.samco-top-navbar__info-row {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0 0 0.35rem;
    width: 100%;
}

.samco-top-navbar__contact {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.samco-top-navbar__contact a {
    align-items: center;
    color: #ece3cf !important;
    display: inline-flex;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.samco-top-navbar__contact a:hover,
.samco-top-navbar__contact a:focus {
    color: #fff !important;
    text-decoration: none;
}

.samco-top-navbar__contact .fa-whatsapp {
    color: #21a953;
    font-size: 1rem;
}

.samco-top-navbar__clocks {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.samco-top-navbar__clocks li {
    align-items: center;
    color: #ece3cf;
    display: inline-flex;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.samco-top-navbar__clocks img {
    display: block;
    height: 32px;
    object-fit: contain;
    width: 32px;
}

.samco-top-navbar__main-row {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    width: 100%;
}

.samco-top-navbar__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    /* background: rgba(255, 255, 255, 0.96); */
    text-decoration: none;
}

.samco-top-navbar__brand img {
    display: block;
    height: auto !important;
    max-width: none !important;
    width: 370px !important;
}

.samco-top-navbar__toggle {
    margin-left: auto;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.samco-top-navbar__toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transition:
        transform 0.24s ease,
        opacity 0.24s ease;
}

.samco-top-navbar__nav-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.35rem;
    width: 100%;
}

.samco-top-navbar__menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    flex: 1 1 auto;
}

.samco-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
}

.samco-menu__item {
    position: relative;
}

.samco-menu__link,
.samco-menu__trigger {
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.samco-menu__trigger {
    font: inherit;
}

.samco-nav-link {
    position: relative;
    color: #fff !important;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.85rem 0.95rem !important;
    text-decoration: none;
}

.samco-nav-link::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.5rem;
    height: 1px;
    background: #d6ad4a;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.samco-nav-link:hover::after,
.samco-nav-link:focus-visible::after,
.samco-nav-link.active::after,
.samco-menu__item.is-open > .samco-nav-link::after {
    transform: scaleX(1);
}

.samco-menu__caret {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 1.5px solid #d6ad4a;
    border-bottom: 1.5px solid #d6ad4a;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.samco-menu__item.is-open .samco-menu__caret {
    transform: rotate(-135deg) translateY(-1px);
}

.samco-menu__panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    min-width: 240px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    opacity: 0;
    text-align: center;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.samco-menu__panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.samco-menu__panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.samco-menu__panel-item + .samco-menu__panel-item {
    margin-top: 0.2rem;
}

.samco-menu__panel-link {
    display: block;
    color: #ece3cf;
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.samco-menu__panel-link:hover,
.samco-menu__panel-link:focus,
.samco-menu__panel-link.active {
    color: #fff;
    background: rgba(214, 173, 74, 0.16);
    transform: translateX(4px);
}

.samco-top-navbar__apps {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}

.samco-top-navbar__account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 56px;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    color: #141414 !important;
    background: #d6ad4a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        background-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease;
}

.samco-top-navbar__account:hover,
.samco-top-navbar__account:focus {
    color: #0a0a0a !important;
    background: #f0c65b;
    text-decoration: none;
    transform: translateY(-2px);
}

.samco-top-navbar__login {
    color: #000 !important;
    /* background: rgba(255, 255, 255, 0.08); */
    border-color: rgba(214, 173, 74, 0.38);
}

.samco-top-navbar__login:hover,
.samco-top-navbar__login:focus {
    color: #141414 !important;
    background: #d6ad4a;
}

.samco-top-navbar__app-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease;
}

.samco-top-navbar__app-link:hover,
.samco-top-navbar__app-link:focus {
    transform: translateY(-2px);
    background: rgba(214, 173, 74, 0.18);
    border-color: rgba(214, 173, 74, 0.28);
}

.samco-top-navbar__app-link img {
    display: block;
    height: 5rem;
    width: auto;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .samco-top-navbar {
        padding: 6px 10px 8px;
    }

    .samco-top-navbar__shell {
        border-radius: 1.4rem;
        padding: 0.45rem 0.7rem;
    }

    .samco-top-navbar__info-row {
        align-items: center;
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
    }

    .samco-top-navbar__contact {
        align-items: center;
    }

    .samco-top-navbar__clocks {
        justify-content: center;
    }

    .samco-top-navbar__brand {
        padding: 0.15rem 0.4rem;
    }

    .samco-top-navbar__brand img {
        height: auto !important;
        width: 260px !important;
    }

    .samco-top-navbar__app-link img {
        height: 2.65rem;
    }

    .samco-top-navbar__main-row {
        flex-wrap: wrap;
    }

    .samco-top-navbar__toggle {
        display: inline-flex;
    }

    .samco-top-navbar.is-menu-open .samco-top-navbar__toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .samco-top-navbar.is-menu-open .samco-top-navbar__toggle-line:nth-child(2) {
        opacity: 0;
    }

    .samco-top-navbar.is-menu-open .samco-top-navbar__toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .samco-top-navbar__nav-row {
        align-items: stretch;
        flex-direction: column;
        gap: 0.35rem;
        padding-top: 0;
        border-top: 0;
    }

    .samco-top-navbar__menu {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
            max-height 0.28s ease,
            opacity 0.24s ease;
        margin-left: 0;
        display: block;
        padding-top: 0;
        border-top: 0;
    }

    .samco-top-navbar__menu.is-open {
        max-height: 80vh;
        opacity: 1;
    }

    .samco-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding-top: 0.35rem;
    }

    .samco-menu__link,
    .samco-menu__trigger {
        width: 100%;
        justify-content: space-between;
        border-radius: 0.9rem;
        transition:
            background-color 0.25s ease,
            color 0.25s ease;
    }

    .samco-menu__trigger span:first-child {
        text-align: left;
    }

    .samco-menu__link:hover,
    .samco-menu__link:focus,
    .samco-menu__trigger:hover,
    .samco-menu__trigger:focus,
    .samco-menu__item.is-open > .samco-menu__trigger {
        background: rgba(214, 173, 74, 0.12);
    }

    .samco-menu__panel {
        position: static;
        min-width: 100%;
        margin-top: 0.3rem;
        padding: 0.35rem;
        box-shadow: none;
        border-radius: 0.9rem;
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.06);
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .samco-menu__panel.is-open {
        display: block;
    }

    .samco-top-navbar__apps {
        justify-content: flex-end;
        margin-left: auto;
    }

    .samco-top-navbar__account {
        align-self: flex-end;
    }
}

@media (max-width: 575px) {
    .samco-top-navbar__clocks {
        gap: 0.55rem;
    }

    .samco-top-navbar__clocks li {
        font-size: 0.68rem;
    }

    .samco-top-navbar__clocks img {
        height: 15px;
        width: 22px;
    }

    .samco-top-navbar__apps {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .samco-top-navbar__app-link img {
        height: 2.35rem;
    }

    .samco-top-navbar__account {
        align-self: stretch;
        width: 100%;
        min-height: 52px;
    }

    .samco-top-navbar__toggle {
        margin-left: auto;
    }
}
