.ctg-mi-cuenta-wrap,
.ctg-mi-cuenta-wrap * {
    box-sizing: border-box;
}

.ctg-mi-cuenta-wrap {
    line-height: 1;
}

.ctg-mi-cuenta {
    position: relative;
    display: inline-block;
    max-width: 100%;
    font-family: inherit;
    line-height: 1;
    color: #111111;
}

.ctg-mi-cuenta a {
    text-decoration: none !important;
}

.ctg-mi-cuenta__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    gap: 10px;
    padding: 12px 18px;
    border: 0 solid transparent;
    border-radius: 0;
    background: transparent;
    color: #111111 !important;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ctg-mi-cuenta__trigger:hover,
.ctg-mi-cuenta__trigger:focus,
.ctg-mi-cuenta:hover > .ctg-mi-cuenta__trigger,
.ctg-mi-cuenta:focus-within > .ctg-mi-cuenta__trigger {
    background: #000000;
    color: #ffffff !important;
}

.ctg-mi-cuenta__icon {
    display: block;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
}

.ctg-mi-cuenta__label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ctg-mi-cuenta__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 99999;
    width: 430px;
    max-width: calc(100vw - 24px);
    min-width: min(270px, calc(100vw - 24px));
    padding-top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.ctg-mi-cuenta--has-dropdown:hover .ctg-mi-cuenta__dropdown,
.ctg-mi-cuenta--has-dropdown:focus-within .ctg-mi-cuenta__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.ctg-mi-cuenta__dropdown-inner {
    overflow: hidden;
    width: 100%;
    border: 1px solid #eeeeee;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.ctg-mi-cuenta__dropdown-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 88px;
    padding: 24px 34px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    color: #555555 !important;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ctg-mi-cuenta__dropdown-link:last-child {
    border-bottom: 0;
}

.ctg-mi-cuenta__dropdown-link:hover,
.ctg-mi-cuenta__dropdown-link:focus {
    background: #fafafa;
    color: #111111 !important;
}

@media (max-width: 767px) {
    .ctg-mi-cuenta__trigger {
        padding: 10px 14px;
        font-size: 22px;
    }

    .ctg-mi-cuenta__icon {
        width: 28px;
        height: 28px;
    }

    .ctg-mi-cuenta__dropdown {
        width: 270px;
    }

    .ctg-mi-cuenta__dropdown-link {
        min-height: 64px;
        padding: 18px 24px;
        font-size: 19px;
    }
}
