/* inventory/shop/shop-nav.css */

.shop-topbar {
    height: 32;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 1049;
    background: #000;

    transition: transform 0.3s ease;
    font-size: 0.85rem;
}


body {
    padding-top: 120px; /* topbar + mega nav height */
}

.shop-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 4px 16px;
}

.topbar-right {
    display: flex;
    gap: 10px;
}

.top-link {
    color: #bbb;
    text-decoration: none;
    transition: color 0.15s ease;
}

.top-link:hover {
    color: #fff;
}

.shop-banner-img {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.shop-banner-trigger:hover .shop-banner-img {
    transform: scale(1.05);
}
.shop-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    display: flex;
    align-items: center;
}

.shop-banner-img {
    height: 40px;
    object-fit: contain;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.shop-toggle-btn:hover .shop-banner-img {
    transform: scale(1.05);
    opacity: 0.9;
}

@media (max-width: 768px) {

    .shop-mega-dropdown {
        position: fixed;   /* 🔥 key change */
        top: 80px;         /* below nav */
        left: 0;
        right: 0;

        width: 100%;
        max-width: 100%;
        min-width: unset;

        border-radius: 0;
        padding: 16px;

        transform: none;

        opacity: 0;
        visibility: hidden;

        max-height: 70vh;
        overflow-y: auto;
    }

    /* show state */
    .shop-mega-dropdown.active {
        opacity: 1;
        visibility: visible;
    }

    /* stack layout */
    .shop-mega-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .shop-mega-column {
        border-bottom: 1px solid #222;
        padding-bottom: 10px;
    }

    .shop-mega-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .shop-mega-link {
        font-size: 0.9rem;
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .shop-mega-item:hover .shop-mega-dropdown {
        opacity: 0;
        visibility: hidden;
    }
}
.phone-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.phone-icon {
    font-size: 12px;
}

/* Hide by default on small screens */
.phone-number {
    display: none;
    color: white;
    font-weight: 400;
}

/* Show automatically on desktop */
@media (min-width: 768px) {
    .phone-number {
        display: inline;
    }
}