.artict-header {
    position: relative;
    z-index: 1024;
    padding-top: 8px;
    margin-bottom: 12px;
    pointer-events: none;
}

body {
    padding-top: 0;
}

.header-desktop-shell {
    display: none;
}

.header-desktop-shell,
.header-mobile-shell {
    pointer-events: auto;
}

.idle-session-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 31, 57, 0.58);
    backdrop-filter: blur(5px);
}

.idle-session-card {
    width: min(460px, 100%);
    padding: 28px;
    border: 1px solid #dce6f2;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 24px 54px rgba(4, 15, 30, 0.26);
}

.idle-session-card h2 {
    margin: 0 0 10px;
    color: #102b46;
}

.idle-session-card p {
    margin: 0;
    color: #5b748e;
    line-height: 1.65;
}

.idle-session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 22px;
}

@media (min-width: 1200px) {
    .header-desktop-shell {
        display: block;
        width: min(1180px, calc(100% - 32px));
        margin: 0 auto;
        border: 1px solid rgba(7, 31, 57, 0.1);
        border-radius: 24px;
        background: linear-gradient(135deg, #082441 0%, #0b3a69 58%, #0e4a85 100%);
        box-shadow: 0 18px 36px rgba(8, 36, 64, 0.14);
        overflow: hidden;
    }
}

.menu-desktop {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    height: 108px;
}

.menu-desktop-logotipo {
    width: 230px;
    flex-shrink: 0;
}

.menu-desktop-logotipo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 22px;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-desktop-logotipo a img {
    width: 82%;
    filter: brightness(0) invert(1);
}

.menu-desktop-navigation {
    width: calc(100% - 230px);
    height: 100%;
}

.menu-desktop-navigation-top {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-desktop-navigation-top-left,
.menu-desktop-navigation-top-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.menu-desktop-navigation-top-left ul,
.menu-desktop-navigation-top-right ul,
.menu-desktop-navigation-bottom menu ul,
.header-mobile-socials ul,
.header-mobile-navigation-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-desktop-navigation-top-left ul li,
.menu-desktop-navigation-top-right ul li,
.menu-desktop-navigation-bottom menu ul li {
    display: inline-block;
}

.menu-desktop-navigation-top-left ul li {
    margin-right: 8px;
}

.menu-desktop-navigation-top-left ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu-desktop-navigation-top-left ul li a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.menu-desktop-navigation-top-right {
    gap: 10px;
}

.menu-desktop-navigation-top-right ul li {
    margin-right: 10px;
}

.menu-desktop-navigation-top-right ul li a {
    color: #d9e7f5;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.menu-desktop-navigation-top-right ul li a:hover {
    color: #ffffff;
}

.navigation-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navigation-top-actions .payment-status {
    color: #ffd37d;
    font-size: 12px;
    font-weight: 600;
}

.navigation-top-actions a.ingresar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    width: fit-content;
}

.navigation-top-actions a.ingresar.only-text {
    background: rgba(61, 220, 132, 0.22);
    color: #ffffff;
}

.navigation-top-actions a.ingresar .icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-desktop-navigation-bottom {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    background: #ffffff;
    gap: 16px;
}

.menu-desktop-navigation-bottom-search {
    width: 280px;
    flex-shrink: 0;
}

.menu-desktop-member-spot {
    min-width: 180px;
    max-width: 320px;
    flex: 0 1 auto;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid #d7e5f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    box-shadow: 0 10px 24px rgba(8, 36, 64, 0.06);
}

.menu-desktop-member-avatar {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d5aa6 0%, #49b6da 100%);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(13, 90, 166, 0.18);
}

.menu-desktop-member-copy {
    min-width: 0;
    max-width: 230px;
    display: grid;
    gap: 2px;
}

.menu-desktop-member-copy span {
    color: #5a7691;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu-desktop-member-copy strong,
.menu-desktop-member-copy small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-desktop-member-copy strong {
    color: #14314b;
    font-size: 11px;
    line-height: 1.2;
}

.menu-desktop-member-copy small {
    color: #67829b;
    font-size: 10px;
    line-height: 1.2;
}

.input-search-menu {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #d9e6f2;
    border-radius: 999px;
    background: #f4f7fb;
    overflow: hidden;
}

.input-search-menu input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 9px 14px;
    color: #26314d;
    outline: none;
    font-size: 13px;
}

.input-search-menu input::placeholder {
    color: #8ea3b8;
}

.input-search-menu button {
    width: 42px;
    border: 0;
    background: transparent;
    color: #005198;
    cursor: pointer;
}

.menu-desktop-navigation-bottom-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.menu-desktop-navigation-bottom menu ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.menu-desktop-navigation-bottom menu ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #26314d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 8px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-desktop-navigation-bottom menu ul li a:hover {
    background: #e8f1fb;
    color: #005198;
}

.menu-desktop-navigation-bottom menu ul li:first-child {
    max-width: none;
}

.header-mobile-shell {
    display: block;
    position: relative;
    width: min(calc(100% - 24px), 1180px);
    margin: 0 auto;
    border: 1px solid rgba(7, 31, 57, 0.1);
    border-radius: 18px;
    background: linear-gradient(135deg, #082441 0%, #0b3a69 58%, #0e4a85 100%);
    box-shadow: 0 18px 36px rgba(8, 36, 64, 0.14);
    overflow: hidden;
}

@media (min-width: 1200px) {
    .header-mobile-shell {
        display: none;
    }
}

.header-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-mobile-socials ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-mobile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-mobile-socials a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.header-mobile-actions {
    display: flex;
    align-items: center;
}

.ingresar-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ingresar-mobile.only-text {
    background: rgba(61, 220, 132, 0.22);
    color: #ffffff;
}

.ingresar-mobile .icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-mobile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 10px 14px;
    background: #ffffff;
}

.header-mobile-corporativo {
    width: min(62vw, 220px);
}

.header-mobile-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-mobile-menu button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: #e8f1fb;
    color: #005198;
    box-shadow: inset 0 0 0 1px rgba(0, 81, 152, 0.08);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-mobile-menu button:hover {
    background: #dceafb;
    color: #005198;
    transform: translateY(-1px);
}

.header-mobile-search {
    display: none;
    padding: 0 14px 14px;
    background: rgba(255, 255, 255, 0.98);
}

.header-mobile-search.active {
    display: block;
}

.header-mobile-search p {
    margin: 0 0 8px;
    color: #26314d;
    font-size: 13px;
    font-weight: 700;
}

.header-mobile-search-input {
    display: flex;
    align-items: center;
    border: 1px solid #d9e6f2;
    border-radius: 16px;
    background: #f6f9fc;
    overflow: hidden;
}

.header-mobile-search-input input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 14px;
    outline: none;
    font-size: 13px;
}

.header-mobile-search-input button {
    width: 42px;
    border: 0;
    background: transparent;
    color: #005198;
}

.header-mobile-navigation {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(92vw, 380px);
    background: linear-gradient(180deg, #082441, #0b3158);
    color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1030;
    overflow-y: auto;
    box-shadow: -18px 0 36px rgba(4, 15, 30, 0.28);
}

.header-mobile-navigation.visible {
    transform: translateX(0);
}

.header-mobile-navigation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(158, 196, 255, 0.16), transparent 38%);
    pointer-events: none;
}

.header-mobile-navigation-inner {
    position: relative;
    min-height: 100%;
    padding: 22px 18px 28px;
}

.header-mobile-navigation-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.header-mobile-navigation-actions-corporativo {
    width: 170px;
}

.header-mobile-navigation-actions-corporativo img {
    filter: brightness(0) invert(1);
}

.header-mobile-navigation-actions-close button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-mobile-navigation-actions-close button:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: rotate(90deg);
}

.header-mobile-navigation-items {
    margin-bottom: 24px;
}

.header-mobile-navigation-items h3 {
    margin: 0 0 12px;
    color: #9ec4ff;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.header-mobile-navigation-items ul li + li {
    margin-top: 10px;
}

.header-mobile-navigation-items ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-mobile-navigation-items ul li a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateX(2px);
}

.header-mobile-navigation-items ul li a.light {
    color: #84d2ff;
}

.header-mobile-navigation-items .icon {
    color: #9ec4ff;
}

main {
    min-height: calc(100vh - 180px);
    padding-top: 0;
}

@media (max-width: 1199px) {
    main {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .header-mobile-top,
    .header-mobile-bottom {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-mobile-top {
        flex-wrap: wrap;
    }

    .header-mobile-socials,
    .header-mobile-actions {
        width: 100%;
        justify-content: center;
    }

    .ingresar-mobile {
        width: 100%;
        justify-content: center;
    }

    .header-mobile-corporativo {
        width: min(58vw, 190px);
    }

    .header-mobile-search {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-mobile-navigation {
        width: 100%;
    }

    main {
        padding-top: 0;
    }
}
