/* =============================================================================
   App shell — navbar, footer (warna Shannen #ed8967)
   ============================================================================= */

.navbar-top.navbar-shell {
    background: linear-gradient(90deg, #a8523a 0%, #c96847 42%, #ed8967 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 2px 16px rgba(120, 50, 30, 0.14);
    min-height: 64px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.navbar-top.navbar-shell .nav-link {
    color: rgba(255, 255, 255, 0.94) !important;
}

.navbar-top.navbar-shell .nav-link.font-weight-bold {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.navbar-top.navbar-shell .sidenav-toggler-line {
    background: rgba(255, 255, 255, 0.9);
}

.nav-shell-end {
    gap: 4px;
}

.nav-shell-chevron {
    font-size: 9px !important;
    opacity: 0.55;
    margin-left: 4px;
    transition: opacity 0.15s ease;
}

.nav-lang-chip:hover .nav-shell-chevron,
.nav-profile-chip:hover .nav-shell-chevron {
    opacity: 0.85;
}

.nav-lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-lang-chip:hover,
.nav-lang-chip:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.nav-lang-chip img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu-lang,
.dropdown-menu-profile {
    border-radius: 12px;
}

.dropdown-menu-lang {
    min-width: 180px;
    border: 1px solid #eaded8;
    box-shadow: 0 8px 24px rgba(168, 82, 58, 0.12);
    padding: 6px;
    margin-top: 8px;
}

.dropdown-menu-lang .dropdown-item {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4a3530;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-menu-lang .dropdown-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.dropdown-menu-lang .dropdown-item:hover,
.dropdown-menu-lang .dropdown-item.active {
    background: var(--shannen-light, #fdf0eb);
    color: var(--shannen-dark, #c96847);
}

.nav-shell-profile {
    margin-left: 4px;
    padding-left: 4px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 10px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #fff !important;
    transition: background 0.15s ease;
}

.nav-profile-chip:hover,
.nav-profile-chip:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.nav-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #b85a3a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-profile-meta {
    line-height: 1.25;
    text-align: left;
}

.nav-profile-meta strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.nav-profile-meta small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.72);
}

.dropdown-menu-profile {
    min-width: 220px;
    border: 1px solid #eaded8;
    box-shadow: 0 8px 24px rgba(168, 82, 58, 0.12);
    padding: 6px;
    margin-top: 8px;
}

.dropdown-menu-profile .dropdown-header {
    padding: 12px 12px 8px;
    background: #fdf8f6;
    border-radius: 8px;
    margin-bottom: 4px;
}

.dropdown-menu-profile .dropdown-header h6 {
    font-size: 13px;
    font-weight: 700;
    color: var(--shannen-dark, #c96847);
    margin: 0;
}

.dropdown-menu-profile .dropdown-header small {
    font-size: 11px;
    color: #8a7570;
}

.dropdown-menu-profile .dropdown-item {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-menu-profile .dropdown-item i {
    width: 18px;
    text-align: center;
}

.navbar-shell .nav-link.btn-tooltip {
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
    border: none;
    margin-right: 0;
    transition: background 0.15s ease;
}

.navbar-shell .nav-link.btn-tooltip:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-shell .nav-cart-link {
    position: relative;
}

.navbar-shell .nav-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.navbar-shell .nav-cart-icon > i {
    font-size: 16px;
    line-height: 1;
}

.navbar-shell .nav-cart-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    border-radius: 999px;
    border: 2px solid rgba(168, 82, 58, 0.85);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.app-footer {
    margin-top: 2rem;
    padding: 20px 0 28px;
    border-top: 1px solid #eaded8;
    background: linear-gradient(180deg, #fdfbf9 0%, #fdf0eb 100%);
}

.app-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-footer-brand {
    font-size: 13px;
    color: #6b5852;
    margin: 0;
}

.app-footer-brand strong {
    color: var(--shannen-dark, #c96847);
    font-weight: 800;
}

.app-footer-meta {
    font-size: 11px;
    color: #a8948e;
    margin: 0;
}

.app-footer-links {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-footer-links a {
    font-size: 12px;
    font-weight: 600;
    color: var(--shannen, #ed8967);
    text-decoration: none;
}

.app-footer-links a:hover {
    color: var(--shannen-dark, #c96847);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .nav-profile-meta {
        display: none !important;
    }

    .nav-shell-profile {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    .nav-profile-chip {
        padding: 6px 8px;
    }

    .app-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================================================
   Breadcrumb global (header.bg-breadcrumb + breadcrumb-links)
   ============================================================================= */

.header.bg-breadcrumb {
    background: linear-gradient(135deg, #fdf8f6 0%, #fdf0eb 55%, #fceee8 100%) !important;
    border-bottom: 1px solid #eaded8;
    margin-bottom: 0;
}

.header.bg-breadcrumb .header-body {
    padding-top: 0.25rem;
}

.header.bg-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.header.bg-breadcrumb .breadcrumb-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #eaded8;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(168, 82, 58, 0.06);
}

.header.bg-breadcrumb .breadcrumb-item {
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.header.bg-breadcrumb .breadcrumb-item a {
    color: var(--shannen-dark, #c96847);
    text-decoration: none;
    transition: color 0.15s ease;
}

.header.bg-breadcrumb .breadcrumb-item a:hover {
    color: var(--shannen, #ed8967);
    text-decoration: none;
}

.header.bg-breadcrumb .breadcrumb-item.active {
    color: #6b5852;
    font-weight: 700;
}

.header.bg-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: #c9b8b0;
    font-size: 14px;
    font-weight: 700;
    padding: 0 0.35rem;
}

.header.bg-breadcrumb .breadcrumb-item a i.fa-home,
.header.bg-breadcrumb .breadcrumb-item a i.fas.fa-home {
    font-size: 13px;
    color: var(--shannen, #ed8967);
}

/* breadcrumb-dark di halaman gelap — tetap pill tapi kontras */
.header.bg-breadcrumb .breadcrumb-links.breadcrumb-dark .breadcrumb-item a {
    color: var(--shannen-dark, #c96847);
}

.header.bg-breadcrumb .breadcrumb-links.breadcrumb-dark .breadcrumb-item.active,
.header.bg-breadcrumb .breadcrumb-links.breadcrumb-dark .breadcrumb-item.active.text-white {
    color: #6b5852 !important;
}

.header.bg-breadcrumb .breadcrumb-links.breadcrumb-light .breadcrumb-item a {
    color: var(--shannen-dark, #c96847);
}

.header.bg-breadcrumb .breadcrumb-links.breadcrumb-light .breadcrumb-item.active {
    color: #6b5852;
}

@media (max-width: 767px) {
    .header.bg-breadcrumb .breadcrumb-links {
        padding: 6px 12px;
        border-radius: 12px;
    }

    .header.bg-breadcrumb .breadcrumb-item {
        font-size: 11px;
    }
}

/* =============================================================================
   Assume / impersonate banner
   ============================================================================= */

.assume-banner {
    background: linear-gradient(90deg, #fdf0eb 0%, #fff9f6 55%, #fff 100%);
    border-bottom: 1px solid #eaded8;
    box-shadow: inset 4px 0 0 var(--shannen, #ed8967);
    padding: 12px 0;
}

.assume-banner-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.assume-banner-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ed8967 0%, #c96847 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(237, 137, 103, 0.32);
}

.assume-banner-text {
    flex: 1;
    min-width: 180px;
    line-height: 1.35;
}

.assume-banner-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--shannen-dark, #c96847);
    margin-bottom: 2px;
}

.assume-banner-desc {
    font-size: 13px;
    font-weight: 500;
    color: #5c4842;
}

.assume-banner-desc strong {
    font-weight: 800;
    color: #a8523a;
}

.assume-banner-revert {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e8c4b4;
    color: var(--shannen-dark, #c96847);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(168, 82, 58, 0.08);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.assume-banner-revert:hover {
    background: var(--shannen, #ed8967);
    border-color: var(--shannen, #ed8967);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(237, 137, 103, 0.35);
    transform: translateY(-1px);
}

.assume-banner-revert .fa-undo {
    font-size: 11px;
    opacity: 0.9;
}

@media (max-width: 767px) {
    .assume-banner {
        padding: 14px 0;
    }

    .assume-banner-inner {
        gap: 12px;
    }

    .assume-banner-revert {
        width: 100%;
        justify-content: center;
    }
}
