/* ============================================================
   HAKKUMA BUSINESS DASHBOARD
   ============================================================ */

:root {

    --hk-primary: #394395;
    --hk-primary-dark: #2f387f;
    --hk-primary-light: #eef0ff;

    --hk-yellow: #fab80e;
    --hk-yellow-dark: #e4a400;

    --hk-bg: #f5f7fb;
    --hk-surface: #ffffff;

    --hk-text: #252836;
    --hk-text-secondary: #667085;
    --hk-text-muted: #98a2b3;

    --hk-border: #e4e7ec;
    --hk-border-dark: #d0d5dd;

    --hk-navbar-height: 68px;
    --hk-sidebar-width: 250px;

    --hk-radius-sm: 8px;
    --hk-radius: 12px;
    --hk-radius-lg: 16px;

    --hk-shadow-sm:
        0 1px 3px rgba(16, 24, 40, 0.05);

    --hk-shadow:
        0 8px 24px rgba(16, 24, 40, 0.08);
}


/* ============================================================
   Dashboard general
   ============================================================ */

.hk-app--dashboard {

    min-height: 100vh;

    background-color: var(--hk-bg);

    color: var(--hk-text);

    line-height: 1.5;

}


.hk-dashboard {

    min-height:
        calc(
            100vh -
            var(--hk-navbar-height)
        );

}


.hk-dashboard-main {

    width:
        calc(
            100% -
            var(--hk-sidebar-width)
        );

    min-height:
        calc(
            100vh -
            var(--hk-navbar-height)
        );

    margin-left:
        var(--hk-sidebar-width);

    background-color: var(--hk-bg);

}


.hk-dashboard-content {

    width: 100%;

    max-width: 1680px;

    margin: 0 auto;

    padding:
        24px
        28px
        48px;

}



/* ============================================================
   TOPBAR BUSINESS
   ============================================================ */

.hk-topbar {
    position: sticky;
    top: 0;
    z-index: 1040;

    width: 100%;
    height: var(--hk-navbar-height);

    background-color: #ffffff;

    box-shadow:
        0 2px 8px
        rgba(16, 24, 40, 0.06);
}

/* ============================================================
   Área blanca
   ============================================================ */

.hk-topbar-main {
    width: 100%;
    height: 72px;

    background-color: #ffffff;
}


.hk-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 1450px;
    height: 100%;

    margin: 0 auto;

    padding:
        0
        30px;
}


.hk-topbar-left,
.hk-topbar-right {

    display: flex;

    align-items: center;

}


.hk-topbar-left {

    gap: 12px;

}

/* ============================================================
   Franja Business
   ============================================================ */

.hk-topbar-accent {
    width: 100%;
    height: 8px;

    background-color:
        var(--hk-primary);
}


.hk-brand {
    display: inline-flex;
    align-items: center;
}


.hk-brand-logo {
    display: block;

    width: auto;
    max-width: 210px;
    max-height: 52px;
}


.hk-sidebar-toggle {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    padding: 0;

    color: #ffffff;

    background-color:
        rgba(255, 255, 255, 0.18);

    border: 0;

    border-radius:
        var(--hk-radius-sm);

    font-size: 19px;

    transition:
        background-color .2s ease,
        transform .2s ease;

}


.hk-sidebar-toggle:hover {

    background-color:
        rgba(255, 255, 255, 0.30);

}


.hk-sidebar-toggle:active {

    transform: scale(.96);

}



/* ============================================================
   Usuario topbar
   ============================================================ */

.hk-user-menu {
    display: flex;
    align-items: center;

    gap: 9px;

    min-height: 44px;

    padding:
        5px
        9px;

    color:
        var(--hk-text);

    background-color:
        transparent;

    border: 0;

    border-radius:
        var(--hk-radius-sm);

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease;
}



.hk-user-menu:hover,
.hk-user-menu[aria-expanded="true"] {
    color:
        var(--hk-primary);

    background-color:
        var(--hk-primary-light);
}





/* ============================================================
   Avatar
   ============================================================ */

.hk-user-avatar,
.hk-user-avatar-fallback {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    border-radius: 50%;
}


.hk-user-avatar {
    object-fit: cover;

    background-color:
        #f2f4f7;

    border:
        1px solid
        var(--hk-border);
}


.hk-user-avatar-fallback {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    color:
        #ffffff;

    background-color:
        var(--hk-primary);

    font-size: 14px;
    font-weight: 800;
}


/* ============================================================
   Nombre
   ============================================================ */

.hk-user-name {
    max-width: 180px;

    overflow: hidden;

    color: inherit;

    font-size: 14px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   Flecha
   ============================================================ */

.hk-user-chevron {
    margin-left: 2px;

    color:
        var(--hk-primary);

    font-size: 10px;

    transition:
        transform .2s ease;
}


.hk-user-menu[aria-expanded="true"]
.hk-user-chevron {
    transform:
        rotate(180deg);
}


.hk-user-dropdown {
    min-width: 220px;

    margin-top: 9px !important;

    padding: 7px;

    background-color:
        #ffffff;

    border:
        1px solid
        var(--hk-border);

    border-radius:
        var(--hk-radius);

    box-shadow:
        var(--hk-shadow);
}


.hk-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;

    min-height: 40px;

    padding:
        9px
        10px;

    color:
        var(--hk-text-secondary);

    border-radius:
        var(--hk-radius-sm);

    font-size: 13px;
    font-weight: 600;

    transition:
        color .15s ease,
        background-color .15s ease;
}


.hk-topbar-auth-link {
    margin-right: 14px;

    color:
        var(--hk-primary);

    font-weight: 700;
}

.hk-topbar-auth-link:hover {
    color:
        var(--hk-primary-dark);
}




.hk-user-dropdown .dropdown-item i {
    width: 18px;

    color:
        var(--hk-text-muted);

    text-align: center;
}


.hk-user-dropdown .dropdown-item:hover {
    color:
        var(--hk-primary);

    background-color:
        var(--hk-primary-light);
}


.hk-user-dropdown .dropdown-item:hover i {
    color:
        var(--hk-primary);
}


.hk-dropdown-logout {
    color:
        #b42318 !important;
}


.hk-dropdown-logout i {
    color:
        #b42318 !important;
}


.hk-dropdown-logout:hover {
    color:
        #b42318 !important;

    background-color:
        #fef3f2 !important;
}


.hk-topbar-auth-button:hover {
    color:
        #ffffff;

    background-color:
        var(--hk-primary-dark);
}



/* ============================================================
   SIDEBAR
   ============================================================ */

.hk-sidebar {

    position: fixed;

    top:
        var(--hk-navbar-height);

    bottom: 0;

    left: 0;

    z-index: 1020;

    width:
        var(--hk-sidebar-width);

    background-color:
        var(--hk-surface);

    border-right:
        1px solid
        var(--hk-border);

}


.hk-sidebar-content {

    display: flex;

    flex-direction: column;

    width: 100%;

    height: 100%;

    padding:
        18px
        14px;

    overflow-y: auto;

}

.hk-sidebar-content {
    scrollbar-width: thin;
    scrollbar-color: #d0d5dd transparent;
}

.hk-sidebar-content::-webkit-scrollbar {
    width: 5px;
}

.hk-sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.hk-sidebar-content::-webkit-scrollbar-thumb {
    background-color: #d0d5dd;
    border-radius: 10px;
}

.hk-sidebar-content::-webkit-scrollbar-thumb:hover {
    background-color: #98a2b3;
}



/* ============================================================
   Negocio dentro del sidebar
   ============================================================ */

.hk-sidebar-business {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 20px;

    padding:
        10px
        9px
        16px;

    border-bottom:
        1px solid
        var(--hk-border);

}


.hk-sidebar-business-logo {

    flex: 0 0 42px;

    width: 42px;

    height: 42px;

    object-fit: cover;

    border:
        1px solid
        var(--hk-border);

    border-radius:
        10px;

}


.hk-sidebar-business-info {

    min-width: 0;

}


.hk-sidebar-business-label {

    display: block;

    margin-bottom: 2px;

    color:
        var(--hk-text-muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .05em;

    text-transform: uppercase;

}


.hk-sidebar-business-name {

    display: block;

    overflow: hidden;

    color:
        var(--hk-text);

    font-size: 14px;

    font-weight: 800;

    text-overflow: ellipsis;

    white-space: nowrap;

}



/* ============================================================
   Navegación
   ============================================================ */

.hk-sidebar-navigation {

    flex: 1 0 auto;

}


.hk-nav-section {

    margin-bottom: 20px;
    margin-top: 20px;

}


.hk-nav-title {

    display: block;

    margin-bottom: 7px;

    padding:
        0 11px;

    color:
        var(--hk-text-muted);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

}


.hk-nav-link {

    display: flex;

    align-items: center;

    gap: 11px;

    min-height: 42px;

    margin-bottom: 3px;

    padding:
        9px
        11px;

    color:
        #505866;

    border-radius:
        var(--hk-radius-sm);

    font-size: 14px;

    font-weight: 600;

    transition:
        color .2s ease,
        background-color .2s ease;

}


.hk-nav-link i {

    flex: 0 0 20px;

    width: 20px;

    color:
        #7c8494;

    font-size: 15px;

    text-align: center;

}


.hk-nav-link:hover {

    color:
        var(--hk-primary);

    background-color:
        #f5f6fb;

}


.hk-nav-link:hover i {

    color:
        var(--hk-primary);

}


.hk-nav-link.active {

    color:
        var(--hk-primary);

    background-color:
        var(--hk-primary-light);

    font-weight: 800;

}


.hk-nav-link.active i {

    color:
        var(--hk-primary);

}



/* ============================================================
   Operaciones rápidas
   ============================================================ */

.hk-quick-actions {

    flex: 0 0 auto;

    margin-bottom: auto;

    padding-bottom: 15px;

    border-bottom:
        1px solid
        var(--hk-border);

}


.hk-quick-action {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 8px;

    padding:
        11px
        10px;

    border-radius:
        var(--hk-radius);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;

}


.hk-quick-action:hover {

    transform:
        translateY(-1px);

    box-shadow:
        var(--hk-shadow-sm);

}


.hk-quick-action-icon {

    display: inline-flex;

    flex: 0 0 38px;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 10px;

}


.hk-quick-action-text {

    display: flex;

    min-width: 0;

    flex-direction: column;

}


.hk-quick-action-text strong {

    font-size: 13px;

    line-height: 1.25;

}


.hk-quick-action-text small {

    margin-top: 2px;

    font-size: 10px;

    line-height: 1.25;

    opacity: .78;

}


.hk-quick-action--points {

    color: #ffffff;

    background-color:
        var(--hk-primary);

}


.hk-quick-action--points:hover {

    color: #ffffff;

    background-color:
        var(--hk-primary-dark);

}


.hk-quick-action--points
.hk-quick-action-icon {

    background-color:
        rgba(255, 255, 255, .16);

}


.hk-quick-action--prize {

    color: #292929;

    background-color:
        var(--hk-yellow);

}


.hk-quick-action--prize:hover {

    color: #292929;

    background-color:
        var(--hk-yellow-dark);

}


.hk-quick-action--prize
.hk-quick-action-icon {

    background-color:
        rgba(255, 255, 255, .38);

}



/* ============================================================
   Contexto negocio
   ============================================================ */

.hk-business-context {

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;

    margin-bottom: 22px;

    padding:
        12px
        16px;

    background-color:
        var(--hk-surface);

    border:
        1px solid
        var(--hk-border);

    border-radius:
        var(--hk-radius);

    box-shadow:
        var(--hk-shadow-sm);

}


.hk-business-context-main {

    display: flex;

    align-items: center;

    min-width: 0;

    gap: 11px;

}


.hk-business-context-logo {

    flex: 0 0 46px;

    width: 46px;

    height: 46px;

    object-fit: cover;

    border:
        1px solid
        var(--hk-border);

    border-radius: 10px;

}


.hk-business-context-info {

    min-width: 0;

}


.hk-business-context-label {

    display: block;

    margin-bottom: 1px;

    color:
        var(--hk-text-secondary);

    font-size: 11px;

}


.hk-business-context-name {

    margin: 0;

    overflow: hidden;

    color:
        var(--hk-text);

    font-size: 18px;

    font-weight: 800;

    line-height: 1.3;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.hk-business-rating {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding:
        7px
        10px;

    color:
        #7b5800;

    background-color:
        #fff7dc;

    border-radius:
        20px;

    font-size: 13px;

    font-weight: 800;

}


.hk-business-rating i {

    color:
        var(--hk-yellow);

}



/* ============================================================
   Offcanvas
   ============================================================ */

.hk-sidebar-mobile {

    --bs-offcanvas-width: 286px;

    background-color:
        var(--hk-surface);

}


.hk-sidebar-mobile-header {

    min-height: 68px;

    border-bottom:
        1px solid
        var(--hk-border);

}


.hk-sidebar-mobile-subtitle {

    display: block;

    margin-bottom: 1px;

    color:
        var(--hk-primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

}



/* ============================================================
   Contenido antiguo mientras se migra
   ============================================================ */

/*
   Esto permite que las páginas antiguas continúen funcionando
   dentro del nuevo dashboard.
*/

.hk-dashboard-content > h3 {

    border-radius:
        var(--hk-radius-sm);

}


.hk-dashboard-content .container_hk {

    float: none !important;

}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.hk-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.hk-page-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--hk-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hk-page-title {
    margin: 0;
    color: var(--hk-text);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.hk-page-description {
    margin: 7px 0 0;
    color: var(--hk-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}


/* ============================================================
   HOME
   ============================================================ */

.hk-home {
    width: 100%;
}

.hk-home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.hk-home-section-title {
    margin: 0;
    color: var(--hk-text);
    font-size: 18px;
    font-weight: 800;
}

.hk-home-section-description {
    margin: 5px 0 0;
    color: var(--hk-text-secondary);
    font-size: 13px;
}


/* ============================================================
   TARJETAS OPERATIVAS
   ============================================================ */

.hk-operation-card {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    color: var(--hk-text);
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: 16px;
    box-shadow: var(--hk-shadow-sm);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.hk-operation-card:hover {
    color: var(--hk-text);
    transform: translateY(-3px);
    box-shadow: var(--hk-shadow);
}

.hk-operation-card-body {
    display: flex;
    min-height: 230px;
    gap: 22px;
    padding: 28px;
}

.hk-operation-card-icon {
    display: inline-flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 24px;
}

.hk-operation-card-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.hk-operation-card-label {
    margin-bottom: 7px;
    color: var(--hk-text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hk-operation-card-title {
    margin: 0 0 8px;
    color: var(--hk-text);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.hk-operation-card-description {
    max-width: 420px;
    margin: 0 0 24px;
    color: var(--hk-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.hk-operation-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 800;
}

.hk-operation-card-action i {
    font-size: 11px;
    transition: transform .2s ease;
}

.hk-operation-card:hover
.hk-operation-card-action i {
    transform: translateX(4px);
}


/* ============================================================
   AGREGAR PUNTOS
   ============================================================ */

.hk-operation-card--points {
    border-top: 4px solid var(--hk-primary);
}

.hk-operation-card--points
.hk-operation-card-icon {
    color: #ffffff;
    background-color: var(--hk-primary);
}

.hk-operation-card--points
.hk-operation-card-action {
    color: var(--hk-primary);
}


/* ============================================================
   ENTREGAR PREMIO
   ============================================================ */

.hk-operation-card--prize {
    border-top: 4px solid var(--hk-yellow);
}

.hk-operation-card--prize
.hk-operation-card-icon {
    color: #3d3100;
    background-color: var(--hk-yellow);
}

.hk-operation-card--prize
.hk-operation-card-action {
    color: #9a7000;
}







/* ============================================================
   Responsive General
   ============================================================ */

@media
(max-width: 991.98px) {

    .hk-dashboard-main {

        width: 100%;

        margin-left: 0;

    }


    .hk-dashboard-content {

        padding:
            20px
            18px
            40px;

    }


    .hk-topbar-inner {

        padding:
            0 18px;

    }

}

/* ============================================================
   RESPONSIVE HOME
   ============================================================ */

@media (max-width: 767.98px) {

    .hk-page-header {
        margin-bottom: 24px;
    }

    .hk-page-title {
        font-size: 24px;
    }

    .hk-operation-card-body {
        min-height: 0;
        gap: 16px;
        padding: 22px;
    }

    .hk-operation-card-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 13px;
        font-size: 20px;
    }

    .hk-operation-card-title {
        font-size: 19px;
    }

}



@media
(max-width: 575.98px) {

    :root {
        --hk-navbar-height: 70px;
    }

    .hk-topbar-main {
        height: 64px;
    }

    .hk-topbar-inner {
        padding:
            0
            12px;
    }




    .hk-topbar-inner {

        padding:
            0 12px;

    }

    .hk-user-name {
        display: none;
    }

    .hk-user-avatar,
    .hk-user-avatar-fallback {
        flex-basis: 34px;

        width: 34px;
        height: 34px;
    }


    .hk-brand-logo {
        max-width: 160px;
        max-height: 42px;
    }


    .hk-dashboard-content {

        padding:
            14px
            12px
            32px;

    }


    .hk-business-context {

        margin-bottom: 16px;

        padding:
            10px
            12px;

    }


    .hk-business-context-logo {

        flex-basis: 40px;

        width: 40px;

        height: 40px;

    }


    .hk-business-context-name {

        font-size: 15px;

    }


    .hk-business-rating {

        padding:
            6px
            8px;

        font-size: 12px;

    }

}

@media (max-width: 480px) {

    .hk-operation-card-body {
        flex-direction: column;
    }

}


/* ============================================================
   BOTONES BASE
   ============================================================ */

.hk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: var(--hk-radius-sm);
    font-size: 13px;
    font-weight: 800;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.hk-btn:hover {
    transform: translateY(-1px);
}

.hk-btn--primary {
    color: #ffffff;
    background-color: var(--hk-primary);
}

.hk-btn--primary:hover {
    color: #ffffff;
    background-color: var(--hk-primary-dark);
}

.hk-btn--secondary {
    color: var(--hk-primary);
    background-color: var(--hk-primary-light);
    border-color: #dfe2ff;
}

.hk-btn--secondary:hover {
    color: var(--hk-primary);
    background-color: #e2e5ff;
}


/* ============================================================
   CARD BASE
   ============================================================ */

.hk-card {
    overflow: hidden;
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius);
    box-shadow: var(--hk-shadow-sm);
}

.hk-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--hk-border);
}

.hk-card-title {
    margin: 0;
    color: var(--hk-text);
    font-size: 16px;
    font-weight: 800;
}

.hk-card-description {
    margin: 4px 0 0;
    color: var(--hk-text-secondary);
    font-size: 12px;
}

.hk-card-body {
    padding: 20px;
}

.hk-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: var(--hk-primary);
    font-size: 12px;
    font-weight: 800;
}

.hk-card-link:hover {
    color: var(--hk-primary-dark);
}

.hk-card-link i {
    font-size: 10px;
}


/* ============================================================
   HERO DEL NEGOCIO
   ============================================================ */

.hk-business-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 22px 24px;
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius-lg);
    box-shadow: var(--hk-shadow-sm);
}

.hk-business-hero-main {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 16px;
}

.hk-business-hero-logo {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
}

.hk-business-hero-logo img,
.hk-business-hero-logo-fallback {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.hk-business-hero-logo img {
    display: block;
    object-fit: cover;
    border: 1px solid var(--hk-border);
}

.hk-business-hero-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: var(--hk-primary);
    font-size: 28px;
    font-weight: 800;
}

.hk-business-hero-info {
    min-width: 0;
}

.hk-business-hero-info h2 {
    margin: 0 0 6px;
    color: var(--hk-text);
    font-size: 24px;
    font-weight: 800;
}

.hk-business-hero-category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: var(--hk-text-secondary);
    font-size: 13px;
}

.hk-business-hero-category i {
    color: var(--hk-text-muted);
    font-size: 4px;
}

.hk-business-hero-rating {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 2px 7px;
    flex-shrink: 0;
    padding: 10px 14px;
    background-color: #fff7dc;
    border-radius: 12px;
}

.hk-business-hero-rating i {
    grid-row: 1 / 3;
    color: var(--hk-yellow);
    font-size: 18px;
}

.hk-business-hero-rating strong {
    color: #7b5800;
    font-size: 17px;
    line-height: 1;
}

.hk-business-hero-rating span {
    color: #9a7a20;
    font-size: 10px;
}


/* ============================================================
   INFORMACIÓN GENERAL
   ============================================================ */

.hk-business-info-card {
    margin-bottom: 18px;
}

.hk-business-description {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hk-border);
}

.hk-data-label {
    display: block;
    margin-bottom: 6px;
    color: var(--hk-text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hk-data-value {
    display: block;
    color: var(--hk-text);
    font-size: 14px;
    font-weight: 700;
}

.hk-data-value--description {
    max-width: 900px;
    margin: 0;
    color: var(--hk-text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

.hk-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.hk-status-badge--success {
    color: #166534;
    background-color: #dcfce7;
}

.hk-status-badge--neutral {
    color: #475467;
    background-color: #f2f4f7;
}


/* ============================================================
   STATS
   ============================================================ */

.hk-business-stats {
    margin-bottom: 24px;
}

.hk-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 16px;
    color: var(--hk-text);
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius);
    box-shadow: var(--hk-shadow-sm);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.hk-stat-card:hover {
    color: var(--hk-text);
    border-color: #ccd1f0;
    transform: translateY(-2px);
    box-shadow: var(--hk-shadow);
}

.hk-stat-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--hk-primary);
    background-color: var(--hk-primary-light);
    border-radius: 10px;
    font-size: 16px;
}

.hk-stat-content {
    display: flex;
    flex-direction: column;
}

.hk-stat-content strong {
    color: var(--hk-text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.hk-stat-content small {
    margin-top: 2px;
    color: var(--hk-text-secondary);
    font-size: 11px;
}


/* ============================================================
   RESUMEN DE MÓDULOS
   ============================================================ */

.hk-summary-card {
    height: 100%;
}

.hk-preview-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hk-preview-item {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--hk-text);
    background-color: #ffffff;
    border: 1px solid var(--hk-border);
    border-radius: 10px;
    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.hk-preview-item:hover {
    color: var(--hk-primary);
    border-color: #ccd1f0;
    transform: translateY(-2px);
    box-shadow: var(--hk-shadow-sm);
}

.hk-preview-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f2f4f7;
}

.hk-preview-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hk-preview-title {
    display: -webkit-box;
    min-height: 48px;
    padding: 10px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hk-preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--hk-text-muted);
    font-size: 24px;
}


/* ============================================================
   ESTADOS FIDELIZACIÓN
   ============================================================ */

.hk-loyalty-status {
    position: absolute;
    top: 7px;
    left: 7px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 14px);
    padding: 4px 7px;
    color: #ffffff;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
}

.hk-loyalty-status--pending {
    background-color: #8492a6;
}

.hk-loyalty-status--active {
    background-color: #198754;
}

.hk-loyalty-status--finished {
    background-color: #dc3545;
}

.hk-loyalty-status--suspended {
    background-color: #636363;
}

.hk-loyalty-status--danger {
    background-color: #dc3545;
}


/* ============================================================
   ADMINISTRADORES
   ============================================================ */

.hk-admin-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hk-admin-item {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
    padding: 10px;
    background-color: #f9fafb;
    border: 1px solid var(--hk-border);
    border-radius: 10px;
}

.hk-admin-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
}

.hk-admin-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hk-admin-info strong {
    overflow: hidden;
    color: var(--hk-text);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hk-admin-info span {
    margin-top: 3px;
    color: var(--hk-text-secondary);
    font-size: 10px;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.hk-empty-state {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

.hk-empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    color: var(--hk-primary);
    background-color: var(--hk-primary-light);
    border-radius: 12px;
    font-size: 18px;
}

.hk-empty-state strong {
    color: var(--hk-text);
    font-size: 14px;
}

.hk-empty-state p {
    max-width: 360px;
    margin: 6px 0 14px;
    color: var(--hk-text-secondary);
    font-size: 12px;
    line-height: 1.5;
}


/* ============================================================
   CONFIGURACIÓN DE FIDELIZACIÓN
   ============================================================ */

.hk-setup-state {
    min-height: 170px;
    padding: 4px;
}

.hk-setup-state-header {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
}

.hk-setup-state-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #9a7000;
    background-color: #fff7dc;
    border-radius: 10px;
}

.hk-setup-state-header strong {
    color: var(--hk-text);
    font-size: 13px;
}

.hk-setup-state-header p {
    margin: 3px 0 0;
    color: var(--hk-text-secondary);
    font-size: 11px;
}

.hk-setup-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.hk-setup-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 9px;
    color: var(--hk-text-secondary);
    background-color: #f9fafb;
    border-radius: 7px;
    font-size: 11px;
}

.hk-setup-item-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    color: var(--hk-primary);
    font-size: 9px;
}


/* ============================================================
   RESPONSIVE PERFIL NEGOCIO
   ============================================================ */

@media (max-width: 991.98px) {

    .hk-preview-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767.98px) {

    .hk-business-hero {
        align-items: flex-start;
        padding: 18px;
    }

    .hk-business-hero-logo {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .hk-business-hero-info h2 {
        font-size: 20px;
    }

    .hk-admin-list {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 575.98px) {

    .hk-page-header {
        flex-direction: column;
    }

    .hk-page-header .hk-btn {
        width: 100%;
    }

    .hk-business-hero {
        flex-direction: column;
    }

    .hk-business-hero-rating {
        align-self: flex-start;
    }

    .hk-card-header {
        align-items: flex-start;
    }

    .hk-preview-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   FORMULARIOS BUSINESS
   ============================================================ */

.hk-business-form-page {
    width: 100%;
    max-width: 1100px;
}

.hk-business-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hk-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: var(--hk-text-secondary);
    font-size: 12px;
    font-weight: 700;
}

.hk-back-link:hover {
    color: var(--hk-primary);
}

.hk-back-link i {
    font-size: 10px;
}


/* ============================================================
   CARD FORM
   ============================================================ */

.hk-form-card {
    overflow: hidden;
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius);
    box-shadow: var(--hk-shadow-sm);
}

.hk-form-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--hk-border);
}

.hk-form-card-icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--hk-primary);
    background-color: var(--hk-primary-light);
    border-radius: 10px;
    font-size: 16px;
}

.hk-form-card-header h2 {
    margin: 0;
    color: var(--hk-text);
    font-size: 15px;
    font-weight: 800;
}

.hk-form-card-header p {
    margin: 3px 0 0;
    color: var(--hk-text-secondary);
    font-size: 11px;
}

.hk-form-card-body {
    padding: 22px;
}


/* ============================================================
   INPUTS
   ============================================================ */

.hk-form-label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 800;
}

.hk-form-control {
    min-height: 44px;
    color: var(--hk-text);
    background-color: #ffffff;
    border-color: var(--hk-border-dark);
    border-radius: 8px;
    font-size: 13px;
}

.hk-form-control:focus {
    border-color: #8d95db;
    box-shadow:
        0 0 0 3px
        rgba(57, 67, 149, .10);
}

.hk-form-textarea {
    min-height: 110px;
    resize: vertical;
}

.hk-form-help {
    display: block;
    margin-top: 6px;
    color: var(--hk-text-muted);
    font-size: 10px;
    line-height: 1.45;
}


/* ============================================================
   LOGOTIPO EDIT
   ============================================================ */

.hk-logo-editor {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.hk-logo-preview {
    width: 130px;
    height: 130px;
    overflow: hidden;
    background-color: #f2f4f7;
    border: 1px solid var(--hk-border);
    border-radius: 14px;
}

.hk-logo-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hk-logo-preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--hk-text-muted);
    font-size: 28px;
}


/* ============================================================
   UPLOAD CREATE
   ============================================================ */

.hk-upload-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background-color: #f9fafb;
    border: 1px dashed var(--hk-border-dark);
    border-radius: 10px;
}

.hk-upload-box-icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--hk-primary);
    background-color: var(--hk-primary-light);
    border-radius: 11px;
    font-size: 18px;
}

.hk-upload-box-content {
    flex: 1;
}


/* ============================================================
   TÉRMINOS
   ============================================================ */

.hk-terms-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hk-terms-check {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.hk-terms-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hk-terms-label strong {
    color: var(--hk-text);
    font-size: 12px;
}

.hk-terms-label span {
    margin-top: 3px;
    color: var(--hk-text-secondary);
    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   AVISO DE CONTEXTO
   ============================================================ */

.hk-context-notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    color: #344054;
    background-color: #eef0ff;
    border: 1px solid #dde0ff;
    border-radius: var(--hk-radius-sm);
}

.hk-context-notice > i {
    margin-top: 2px;
    color: var(--hk-primary);
}

.hk-context-notice div {
    display: flex;
    flex-direction: column;
}

.hk-context-notice strong {
    font-size: 12px;
}

.hk-context-notice span {
    margin-top: 2px;
    color: var(--hk-text-secondary);
    font-size: 11px;
}


/* ============================================================
   FOOTER FORM
   ============================================================ */

.hk-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 2px 0 10px;
}

.hk-btn--outline {
    color: var(--hk-text-secondary);
    background-color: #ffffff;
    border-color: var(--hk-border-dark);
}

.hk-btn--outline:hover {
    color: var(--hk-text);
    background-color: #f9fafb;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767.98px) {

    .hk-form-card-header,
    .hk-form-card-body {
        padding: 17px;
    }

    .hk-logo-editor {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hk-logo-preview {
        width: 110px;
        height: 110px;
    }

}


@media (max-width: 575.98px) {

    .hk-upload-box {
        flex-direction: column;
    }

    .hk-form-actions {
        flex-direction: column-reverse;
    }

    .hk-form-actions .hk-btn {
        width: 100%;
    }

}


/* ============================================================
   PAGE ACTIONS
   ============================================================ */

.hk-page-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hk-tutorial-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}


/* ============================================================
   STORE GRID
   ============================================================ */

.hk-store-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius);
    box-shadow: var(--hk-shadow-sm);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.hk-store-card:hover {
    border-color: #d5d9ed;
    transform: translateY(-2px);
    box-shadow: var(--hk-shadow);
}


/* ============================================================
   STORE IMAGE
   ============================================================ */

.hk-store-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f2f4f7;
}

.hk-store-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.hk-store-card:hover
.hk-store-card-image img {
    transform: scale(1.025);
}

.hk-store-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--hk-text-muted);
    font-size: 32px;
}


/* ============================================================
   STORE STATE
   ============================================================ */

.hk-store-state-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    color: #ffffff;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    box-shadow:
        0 2px 6px
        rgba(0, 0, 0, .10);
}

.hk-store-state-badge--active {
    background-color: #198754;
}

.hk-store-state-badge--inactive {
    background-color: #667085;
}


/* ============================================================
   STORE BODY
   ============================================================ */

.hk-store-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 16px 13px;
}

.hk-store-card-type {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: var(--hk-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hk-store-card-title {
    margin: 0 0 9px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.hk-store-card-title a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hk-text);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hk-store-card-title a:hover {
    color: var(--hk-primary);
}

.hk-store-card-location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: auto;
    color: var(--hk-text-secondary);
    font-size: 11px;
    line-height: 1.4;
}

.hk-store-card-location i {
    margin-top: 2px;
    color: var(--hk-text-muted);
}


/* ============================================================
   STORE FOOTER
   ============================================================ */

.hk-store-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--hk-border);
}

.hk-store-card-main-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--hk-primary);
    font-size: 11px;
    font-weight: 800;
}

.hk-store-card-main-action:hover {
    color: var(--hk-primary-dark);
}

.hk-store-card-main-action i {
    font-size: 9px;
}

.hk-store-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hk-icon-button--edit {
    color:var(--hk-primary);
    background-color:var(--hk-primary-light);
    border-color:#dfe2ff;
}

.hk-icon-button--edit:hover {
    color: #ffffff;
    background-color:var(--hk-primary);
    border-color: var(--hk-primary);

}


.hk-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--hk-text-secondary);
    background-color: #f9fafb;
    border:
        1px solid
        var(--hk-border);
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.hk-icon-button:hover {
    color:var(--hk-primary);
    background-color:var(--hk-primary-light);
    border-color:#dfe2ff;
    transform:translateY(-1px);
}

.hk-icon-button--success {
    color: #087443;
    background-color: #dcfce7;
    border-color: #a7f3c5;
}

.hk-icon-button--success:hover {
    color: #ffffff;
    background-color: #198754;
    border-color:#198754;
}

.hk-icon-button--muted {
    color:#667085;
    background-color:#f2f4f7;
    border-color:#d0d5dd;
}

.hk-icon-button--muted:hover {
    color:#ffffff;
    background-color:#667085;
    border-color:#667085;
}


/* ============================================================
   EMPTY STORE
   ============================================================ */

.hk-store-empty-state {
    min-height: 300px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 575.98px) {

    .hk-page-actions {
        width: 100%;
    }

    .hk-page-actions .hk-btn {
        flex: 1;
    }

}


/* ============================================================
   STORE IMAGE FORM
   ============================================================ */

.hk-store-image-editor {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.hk-store-image-preview {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #f2f4f7;
    border: 1px solid var(--hk-border);
    border-radius: 12px;
}

.hk-store-image-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hk-store-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    color: var(--hk-text-muted);
}

.hk-store-image-placeholder i {
    font-size: 27px;
}

.hk-store-image-placeholder span {
    font-size: 11px;
}

.hk-store-image-upload {
    min-width: 0;
}


/* ============================================================
   STORE DETAIL HERO
   ============================================================ */

.hk-store-detail-hero {
    display: grid;
    grid-template-columns: minmax(320px, 500px) minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 24px;
    padding: 20px;
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius-lg);
    box-shadow: var(--hk-shadow-sm);
}

.hk-store-detail-image {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f2f4f7;
    border-radius: 12px;
}

.hk-store-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hk-store-detail-summary {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
}

.hk-store-detail-type {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--hk-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hk-store-detail-summary h2 {
    margin: 0 0 10px;
    color: var(--hk-text);
    font-size: 25px;
    font-weight: 800;
}

.hk-store-detail-summary > p {
    max-width: 650px;
    margin: 0;
    color: var(--hk-text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.hk-store-detail-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    color: var(--hk-text-secondary);
    font-size: 12px;
}

.hk-store-detail-location i {
    color: var(--hk-primary);
}


/* ============================================================
   DETAIL DATA
   ============================================================ */

.hk-detail-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hk-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--hk-border);
}

.hk-detail-row:last-child {
    border-bottom: 0;
}

.hk-detail-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--hk-primary);
    background-color: var(--hk-primary-light);
    border-radius: 9px;
    font-size: 13px;
}

.hk-detail-row > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hk-detail-row small {
    margin-bottom: 3px;
    color: var(--hk-text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hk-detail-row strong {
    color: var(--hk-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}


/* ============================================================
   VIRTUAL STORE
   ============================================================ */

.hk-store-virtual-message {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 120px;
    padding: 18px;
    background-color: var(--hk-primary-light);
    border-radius: 10px;
}

.hk-store-virtual-message > span {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--hk-primary);
    background-color: #ffffff;
    border-radius: 12px;
    font-size: 19px;
}

.hk-store-virtual-message strong {
    color: var(--hk-text);
    font-size: 13px;
}

.hk-store-virtual-message p {
    margin: 4px 0 0;
    color: var(--hk-text-secondary);
    font-size: 11px;
}


/* ============================================================
   RESPONSIVE STORE FORM / DETAIL
   ============================================================ */

@media (max-width: 991.98px) {

    .hk-store-detail-hero {
        grid-template-columns: 1fr;
    }

    .hk-store-detail-image {
        max-width: 600px;
    }

}


@media (max-width: 767.98px) {

    .hk-store-image-editor {
        grid-template-columns: 1fr;
    }

    .hk-store-image-preview {
        max-width: 450px;
    }

}


/* ============================================================
   PRIZE LIST
   ============================================================ */

.hk-prize-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius);
    box-shadow: var(--hk-shadow-sm);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.hk-prize-card:hover {
    border-color: #d5d9ed;
    transform: translateY(-2px);
    box-shadow: var(--hk-shadow);
}

.hk-prize-card-image {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #f2f4f7;
}

.hk-prize-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.hk-prize-card:hover
.hk-prize-card-image img {
    transform: scale(1.025);
}

.hk-prize-card-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    color: var(--hk-text-muted);
}

.hk-prize-card-placeholder i {
    font-size: 30px;
}

.hk-prize-card-placeholder span {
    font-size: 10px;
}

.hk-prize-state-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    color: #fff;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}

.hk-prize-state-badge--active {
    background-color: #198754;
}

.hk-prize-state-badge--inactive {
    background-color: #667085;
}

.hk-prize-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.hk-prize-type {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.hk-prize-type--gift {
    color: #6941c6;
    background-color: #f4f3ff;
}

.hk-prize-type--promotion {
    color: #9a6700;
    background-color: #fff7dc;
}

.hk-prize-card-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
}

.hk-prize-card-title a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hk-text);
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hk-prize-points {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: auto;
    color: var(--hk-primary);
}

.hk-prize-points strong {
    font-size: 23px;
    font-weight: 800;
}

.hk-prize-points span {
    font-size: 11px;
    font-weight: 700;
}

.hk-prize-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--hk-border);
}

.hk-prize-card-main-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--hk-primary);
    font-size: 11px;
    font-weight: 800;
}

.hk-prize-card-actions {
    display: flex;
    gap: 8px;
}



/* ============================================================
   PRIZE STEPS
   ============================================================ */

.hk-steps {
    display: flex;
    max-width: 620px;
    align-items: center;
    margin: 0 auto 24px;
}

.hk-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hk-step-circle {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--hk-text-muted);
    background-color: #fff;
    border: 2px solid var(--hk-border-dark);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.hk-step.active .hk-step-circle {
    color: #fff;
    background-color: var(--hk-primary);
    border-color: var(--hk-primary);
}

.hk-step-info {
    display: flex;
    flex-direction: column;
}

.hk-step-info strong {
    color: var(--hk-text);
    font-size: 11px;
}

.hk-step-info span {
    color: var(--hk-text-muted);
    font-size: 9px;
}

.hk-step-line {
    flex: 1;
    height: 2px;
    margin: 0 14px;
    background-color: var(--hk-border-dark);
}

.hk-step-line.active {
    background-color: var(--hk-primary);
}



/* ============================================================
   PRIZE CALCULATOR
   ============================================================ */

.hk-prize-calculator-warning {
    margin-top: 15px;
    padding: 10px 12px;
    color: #b42318;
    background-color: #fef3f2;
    border-radius: 8px;
    font-size: 11px;
}

.hk-prize-calculator-result {
    margin-top: 22px;
    padding: 22px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            var(--hk-primary-light),
            #f8f8ff
        );
    border: 1px solid #dfe2ff;
    border-radius: 14px;
}

.hk-prize-result-label {
    display: block;
    margin-bottom: 5px;
    color: var(--hk-text-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hk-prize-result-points {
    display: block;
    color: var(--hk-primary);
    font-size: 30px;
    font-weight: 800;
}

/* ============================================================
   PRIZE CALCULATOR - RESULTADO
   ============================================================ */

.hk-prize-calculator-result {
    margin-top: 22px;
    padding: 28px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--hk-primary-light),
            #f8f8ff
        );

    border:
        1px solid
        #dfe2ff;

    border-radius:
        14px;
}


/* ============================================================
   Resultado principal
   ============================================================ */

.hk-prize-result-label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--hk-text-secondary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .06em;

    text-transform: uppercase;
}


.hk-prize-result-points {
    display: block;

    color:
        var(--hk-primary);

    font-size: 34px;

    font-weight: 800;

    line-height: 1.2;
}



/* ============================================================
   Procesando
   ============================================================ */

.hk-prize-calculating {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    color:
        var(--hk-primary);

    font-size: 17px;

    font-weight: 700;
}


.hk-prize-calculating i {
    font-size: 16px;
}



/* ============================================================
   Explicación
   ============================================================ */

.hk-prize-result-explanation {
    margin-top: 24px;

    padding-top: 22px;

    border-top:
        1px solid
        #dfe2ff;
}


.hk-prize-result-question {
    margin:
        0
        0
        18px;

    color:
        var(--hk-text);

    font-size: 16px;

    font-weight: 800;
}



/* ============================================================
   Dos respuestas
   ============================================================ */

.hk-prize-result-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 14px;

    max-width: 820px;

    margin:
        0
        auto;
}


.hk-prize-result-grid--single {
    grid-template-columns:
        minmax(0, 520px);

    justify-content: center;
}


.hk-prize-result-item {
    display: flex;

    min-height: 155px;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    padding: 20px;

    background-color:
        rgba(
            255,
            255,
            255,
            .82
        );

    border:
        1px solid
        rgba(
            57,
            67,
            149,
            .10
        );

    border-radius:
        12px;
}


.hk-prize-result-item-icon {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    margin-bottom: 10px;

    color:
        var(--hk-primary);

    background-color:
        var(--hk-primary-light);

    border-radius:
        10px;

    font-size: 14px;
}


.hk-prize-result-item-text {
    max-width: 320px;

    margin:
        0
        auto
        10px;

    color:
        var(--hk-text-secondary);

    font-size: 13px;

    font-weight: 600;

    line-height: 1.5;
}


.hk-prize-result-amount {
    display: block;

    color:
        var(--hk-primary);

    font-size: 22px;

    font-weight: 800;

    line-height: 1.2;
}



/* ============================================================
   Mensaje final
   ============================================================ */

.hk-prize-result-tip {
    display: flex;

    max-width: 760px;

    align-items: flex-start;

    gap: 9px;

    margin:
        18px
        auto
        0;

    padding:
        11px
        13px;

    color:
        #475467;

    background-color:
        rgba(
            255,
            255,
            255,
            .58
        );

    border-radius:
        9px;

    font-size: 11px;

    line-height: 1.5;

    text-align: left;
}


.hk-prize-result-tip i {
    flex: 0 0 auto;

    margin-top: 2px;

    color:
        var(--hk-yellow-dark);
}



/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 767.98px) {

    .hk-prize-calculator-result {
        padding: 22px 16px;
    }


    .hk-prize-result-points {
        font-size: 29px;
    }


    .hk-prize-result-grid {
        grid-template-columns: 1fr;
    }


    .hk-prize-result-item {
        min-height: 135px;

        padding: 17px;
    }


    .hk-prize-result-amount {
        font-size: 20px;
    }


    .hk-prize-result-tip {
        font-size: 12px;
    }

}


/* ============================================================
   PRIZE DETAIL
   ============================================================ */

.hk-prize-detail-hero {
    display: grid;
    grid-template-columns:
        minmax(300px, 460px)
        minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--hk-surface);
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius-lg);
    box-shadow: var(--hk-shadow-sm);
}

.hk-prize-detail-main-image {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f2f4f7;
    border-radius: 12px;
}

.hk-prize-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hk-prize-detail-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--hk-text-muted);
    font-size: 42px;
}

.hk-prize-detail-summary {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.hk-prize-detail-label {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: var(--hk-primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.hk-prize-detail-summary h2 {
    margin: 0 0 10px;
    font-size: 25px;
    font-weight: 800;
}

.hk-prize-detail-summary p {
    margin: 0;
    color: var(--hk-text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.hk-prize-detail-points {
    display: inline-flex;
    align-self: flex-start;
    align-items: baseline;
    gap: 6px;
    margin-top: 18px;
    padding: 8px 13px;
    color: var(--hk-primary);
    background-color: var(--hk-primary-light);
    border-radius: 10px;
}

.hk-prize-detail-points strong {
    font-size: 22px;
}

.hk-prize-detail-points span {
    font-size: 11px;
    font-weight: 800;
}

.hk-prize-metrics {
    margin-bottom: 20px;
}

.hk-prize-metric {
    height: 100%;
    padding: 15px;
    background-color: #fff;
    border: 1px solid var(--hk-border);
    border-radius: var(--hk-radius);
}

.hk-prize-metric span {
    display: block;
    margin-bottom: 5px;
    color: var(--hk-text-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.hk-prize-metric strong {
    color: var(--hk-text);
    font-size: 15px;
}



/* ============================================================
   PRIZE GALLERY
   ============================================================ */

.hk-prize-gallery {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hk-prize-gallery-image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #f2f4f7;
    border-radius: 10px;
}

.hk-prize-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ============================================================
   IMAGE MANAGER
   ============================================================ */

.hk-prize-upload {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    padding: 25px;
    cursor: pointer;
    text-align: center;
    background-color: #f9fafb;
    border: 2px dashed var(--hk-border-dark);
    border-radius: 12px;
    transition:
        background-color .2s ease,
        border-color .2s ease;
}

.hk-prize-upload:hover {
    background-color: var(--hk-primary-light);
    border-color: #abb1e2;
}

.hk-prize-upload-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--hk-primary);
    background-color: #fff;
    border-radius: 12px;
    font-size: 19px;
}

.hk-prize-upload strong {
    font-size: 13px;
}

.hk-prize-upload > span:last-of-type {
    color: var(--hk-text-secondary);
    font-size: 10px;
}

.hk-prize-upload input {
    display: none;
}

.hk-prize-upload-result {
    margin-top: 14px;
}

.hk-prize-image-sortable {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

.hk-prize-image-sortable-item {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--hk-border);
    border-radius: 12px;
    cursor: grab;
}

.hk-prize-sort-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hk-prize-sort-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hk-prize-drag-indicator {
    position: absolute;
    right: 7px;
    bottom: 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    color: #fff;
    background-color: rgba(37, 40, 54, .75);
    border-radius: 6px;
    font-size: 8px;
    font-weight: 700;
}

.hk-prize-image-delete {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    color: #b42318;
    background-color: #fff;
    border: 0;
    border-top: 1px solid var(--hk-border);
    transition:
        color .2s ease,
        background-color .2s ease;
}

.hk-prize-image-delete:hover {
    color: #fff;
    background-color: #dc3545;
}



/* ============================================================
   RESPONSIVE PRIZES
   ============================================================ */

@media (max-width: 991.98px) {

    .hk-prize-detail-hero {
        grid-template-columns: 1fr;
    }

    .hk-prize-gallery,
    .hk-prize-image-sortable {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 767.98px) {

    .hk-prize-gallery,
    .hk-prize-image-sortable {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 575.98px) {

    .hk-steps {
        align-items: flex-start;
    }

    .hk-step-info {
        display: none;
    }

    .hk-prize-result-points {
        font-size: 25px;
    }

}


/* ============================================================
   ADMIN LIST
   ============================================================ */

.hk-admin-card {
    display: flex;
    height: 100%;
    flex-direction: column;

    background-color: var(--hk-surface);

    border: 1px solid var(--hk-border);

    border-radius: var(--hk-radius);

    box-shadow: var(--hk-shadow-sm);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.hk-admin-card:hover {
    border-color: #d5d9ed;

    transform: translateY(-2px);

    box-shadow: var(--hk-shadow);
}



/* ============================================================
   Usuario
   ============================================================ */

.hk-admin-card-main {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px 18px 14px;
}


.hk-admin-card-avatar {
    display: flex;

    flex: 0 0 64px;

    width: 64px;
    height: 64px;

    overflow: hidden;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background-color: var(--hk-primary);

    border-radius: 50%;

    font-size: 21px;

    font-weight: 800;
}


.hk-admin-card-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hk-admin-card-user {
    min-width: 0;
}


.hk-admin-card-user h2 {
    margin: 0 0 5px;

    overflow: hidden;

    color: var(--hk-text);

    font-size: 15px;

    font-weight: 800;

    line-height: 1.35;

    text-overflow: ellipsis;
}


.hk-admin-card-email {
    display: flex;

    align-items: center;

    gap: 6px;

    overflow: hidden;

    color: var(--hk-text-secondary);

    font-size: 11px;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.hk-admin-card-email i {
    color: var(--hk-text-muted);

    font-size: 10px;
}



/* ============================================================
   Rol
   ============================================================ */

.hk-admin-card-role {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin: 0 18px 16px;

    padding: 11px 12px;

    background-color: var(--hk-primary-light);

    border-radius: 9px;
}


.hk-admin-card-role span {
    color: var(--hk-text-muted);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .05em;

    text-transform: uppercase;
}


.hk-admin-card-role strong {
    color: var(--hk-primary);

    font-size: 11px;

    font-weight: 800;
}



/* ============================================================
   Actions
   ============================================================ */

.hk-admin-card-footer {
    display: flex;

    justify-content: flex-end;

    gap: 8px;

    margin-top: auto;

    padding: 12px 18px;

    border-top: 1px solid var(--hk-border);
}


.hk-icon-button--danger {
    color: #b42318;

    background-color: #fef3f2;

    border-color: #fee4e2;
}


.hk-icon-button--danger:hover {
    color: #ffffff;

    background-color: #dc3545;

    border-color: #dc3545;
}



/* ============================================================
   ADMIN SEARCH
   ============================================================ */

.hk-admin-search {
    display: flex;

    align-items: stretch;

    gap: 8px;
}


.hk-admin-search .hk-form-control {
    flex: 1;
}


.hk-admin-search-button {
    flex-shrink: 0;

    min-width: 100px;
}



/* ============================================================
   Usuario encontrado
   ============================================================ */

.hk-admin-user-result {
    display: flex;

    align-items: center;

    gap: 18px;

    min-height: 150px;
}


.hk-admin-user-result-avatar {
    position: relative;

    display: flex;

    flex: 0 0 100px;

    width: 100px;
    height: 100px;

    overflow: hidden;

    align-items: center;
    justify-content: center;

    background-color: #f2f4f7;

    border: 1px solid var(--hk-border);

    border-radius: 50%;
}


.hk-admin-user-result-avatar img {
    position: relative;

    z-index: 2;

    display: none;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hk-admin-user-result-avatar > span {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--hk-text-muted);

    font-size: 28px;
}


.hk-admin-user-result-info {
    display: flex;

    min-width: 0;

    flex: 1;

    flex-direction: column;

    gap: 10px;
}


.hk-admin-result-line {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.hk-admin-result-line > span {
    color: var(--hk-text-muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .05em;

    text-transform: uppercase;
}


.hk-admin-result-line > strong {
    color: var(--hk-text);

    font-size: 12px;

    font-weight: 700;
}



/* ============================================================
   Permission help
   ============================================================ */

.hk-admin-permission-help {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    margin-top: 15px;

    padding: 11px 12px;

    color: var(--hk-text-secondary);

    background-color: #f9fafb;

    border-radius: 8px;

    font-size: 10px;

    line-height: 1.5;
}


.hk-admin-permission-help i {
    flex-shrink: 0;

    margin-top: 2px;

    color: var(--hk-primary);
}



/* ============================================================
   EDIT USER
   ============================================================ */

.hk-admin-edit-user {
    display: flex;

    align-items: center;

    gap: 18px;

    min-height: 145px;
}


.hk-admin-edit-avatar {
    flex: 0 0 100px;

    width: 100px;
    height: 100px;

    overflow: hidden;

    border-radius: 50%;

    background-color: #f2f4f7;
}


.hk-admin-edit-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hk-admin-edit-info {
    min-width: 0;
}


.hk-admin-edit-info h2 {
    margin: 0 0 12px;

    color: var(--hk-text);

    font-size: 18px;

    font-weight: 800;
}


.hk-admin-edit-meta {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.hk-admin-edit-meta span {
    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--hk-text-secondary);

    font-size: 11px;
}


.hk-admin-edit-meta i {
    width: 14px;

    color: var(--hk-text-muted);

    text-align: center;
}



/* ============================================================
   EMPTY
   ============================================================ */

.hk-admin-empty-state {
    min-height: 280px;
}



/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 575.98px) {

    .hk-admin-search {
        flex-direction: column;
    }


    .hk-admin-search-button {
        width: 100%;
    }


    .hk-admin-user-result,
    .hk-admin-edit-user {
        align-items: flex-start;

        flex-direction: column;
    }


    .hk-admin-user-result-avatar,
    .hk-admin-edit-avatar {
        flex-basis: 80px;

        width: 80px;
        height: 80px;
    }

}


/* ============================================================
   ADMIN SEARCH FEEDBACK
   ============================================================ */

.hk-admin-search-feedback {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 12px;

    padding: 11px 13px;

    border-radius: 9px;

    font-size: 11px;

    font-weight: 600;

    line-height: 1.4;
}


.hk-admin-search-feedback--loading {
    color: var(--hk-primary);

    background-color: var(--hk-primary-light);
}


.hk-admin-search-feedback--success {
    color: #067647;

    background-color: #ecfdf3;

    border: 1px solid #abefc6;
}


.hk-admin-search-feedback--error {
    color: #b42318;

    background-color: #fef3f2;

    border: 1px solid #fecdca;
}


