/* Base Bar Styling */
.aqu-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px)) 10px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

/* Show only on Mobile & Tablets (<992px) */
@media (max-width: 991px) {
    .aqu-bottom-nav {
        display: flex !important;
    }
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .cd-top {
        bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .whatsapp-float {
        bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Desktop Hide */
@media (min-width: 992px) {
    .aqu-bottom-nav,
    .aqu-bnav-backdrop,
    .aqu-bnav-sheet {
        display: none !important;
    }
}

/* Nav Item Styling */
.aqu-bnav-item {
    flex: 1 1 0;
    min-width: 0;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 4px 2px;
    margin: 0;
    color: #64748b;
    cursor: pointer;
    position: relative;
    outline: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.aqu-bnav-item:active {
    transform: scale(0.93);
}

/* Nav Icons */
.aqu-bnav-icon {
    width: 22px;
    height: 22px;
    stroke: #64748b;
    stroke-width: 2.1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease, transform 0.2s ease;
    margin-bottom: 2px;
    flex-shrink: 0;
}

/* Nav Label */
.aqu-bnav-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: #64748b;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.2s ease;
}

/* Dropup Indicator Dot on expandable tabs */
.aqu-bnav-indicator {
    position: absolute;
    top: 5px;
    right: 14%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f4ab3b;
    display: block;
}

/* ACTIVE STATE: Vivid Gradient Blue Tab matching user screenshot */
.aqu-bnav-item.active {
    background: linear-gradient(135deg, #0095bb 0%, #007998 100%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 149, 187, 0.38) !important;
}

.aqu-bnav-item.active .aqu-bnav-icon {
    stroke: #ffffff !important;
}

.aqu-bnav-item.active .aqu-bnav-label {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.aqu-bnav-item.active .aqu-bnav-indicator {
    background: #ffffff;
}

/* Inactive Hover */
@media (hover: hover) {
    .aqu-bnav-item:not(.active):hover {
        background: rgba(0, 149, 187, 0.08);
        color: #0095bb;
    }
    .aqu-bnav-item:not(.active):hover .aqu-bnav-icon {
        stroke: #0095bb;
    }
    .aqu-bnav-item:not(.active):hover .aqu-bnav-label {
        color: #0095bb;
    }
}

/* ==========================================
   DROPUP BOTTOM SHEETS STYLING
   ========================================== */
.aqu-bnav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 999998;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.aqu-bnav-backdrop.show {
    opacity: 1;
}

/* Shared Dropup Sheet Styling */
.aqu-bnav-sheet {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 82vh;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 10px);
}

.aqu-bnav-sheet.show {
    transform: translateY(0);
}

.aqu-bnav-sheet-handle-wrap {
    padding: 12px 0 6px 0;
    display: flex;
    justify-content: center;
    cursor: grab;
}

.aqu-bnav-sheet-handle {
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 10px;
}

.aqu-bnav-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 14px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.aqu-bnav-sheet-title-group {
    display: flex;
    flex-direction: column;
}

.aqu-bnav-sheet-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aqu-bnav-sheet-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.aqu-bnav-sheet-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.aqu-bnav-sheet-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.aqu-bnav-sheet-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 18px 26px 18px;
    flex: 1 1 auto;
}

/* Dropup List Items */
.aqu-dropup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: all 0.2s ease;
    color: #1e293b;
}

.aqu-dropup-item:active,
.aqu-dropup-item:hover {
    background: #f0fdfa;
    border-color: #0095bb;
    transform: translateX(3px);
}

.aqu-dropup-item-left {
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 1 1 auto;
    min-width: 0;
}

.aqu-dropup-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0095bb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.aqu-dropup-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
    flex-shrink: 0;
}

.aqu-dropup-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aqu-dropup-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.aqu-dropup-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aqu-dropup-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.aqu-dropup-badge {
    background: #0095bb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}

.aqu-dropup-badge-gold {
    background: #f4ab3b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}

.aqu-dropup-badge-cyan {
    background: #e0f2fe;
    color: #0095bb;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}

/* Featured Header Card */
.aqu-dropup-featured {
    background: linear-gradient(135deg, #0095bb 0%, #0e3868 100%);
    color: #ffffff !important;
    border: none;
    margin-bottom: 12px;
    padding: 14px 16px;
    box-shadow: 0 4px 15px rgba(0, 149, 187, 0.25);
}

.aqu-dropup-featured:active,
.aqu-dropup-featured:hover {
    background: linear-gradient(135deg, #007f9f 0%, #0a2d54 100%);
    transform: translateY(-2px);
}

.aqu-dropup-featured .aqu-dropup-title {
    color: #ffffff;
    font-size: 15px;
}

.aqu-dropup-featured .aqu-dropup-desc {
    color: #e0f2fe;
}

.aqu-dropup-featured .aqu-dropup-icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ==========================================
   SLIDE-UP "MORE" DRAWER STYLES
   ========================================== */
.aqu-sheet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.aqu-sheet-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 14px 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    color: #1e293b;
}

.aqu-sheet-tile:active,
.aqu-sheet-tile:hover {
    background: #f0fdfa;
    border-color: #0095bb;
    transform: translateY(-2px);
    color: #0095bb;
}

.aqu-sheet-tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0095bb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 8px;
}

.aqu-sheet-tile-title {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;
    color: inherit;
}

.aqu-sheet-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin: 16px 0 8px 4px;
}

.aqu-sheet-list {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.aqu-sheet-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #334155;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.aqu-sheet-link:last-child {
    border-bottom: none;
}

.aqu-sheet-link:active,
.aqu-sheet-link:hover {
    background: #f1f5f9;
    color: #0095bb;
}

.aqu-sheet-link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aqu-sheet-link-left i {
    width: 20px;
    text-align: center;
    color: #0095bb;
    font-size: 14px;
}

.aqu-sheet-contact-btns {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.aqu-sheet-btn-call,
.aqu-sheet-btn-wa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
}

.aqu-sheet-btn-call {
    background: #0095bb;
    color: #ffffff !important;
}

.aqu-sheet-btn-wa {
    background: #25d366;
    color: #ffffff !important;
}
