/* Consistent section separation across the Mamba site on mobile. */
@media (max-width: 768px) {
    body > section + section,
    body > main > section + section,
    main > section + section,
    .page-content > section + section {
        border-top: 2px solid rgba(153, 255, 0, 0.72) !important;
    }
}

/* Keep the brand mark the same size on every page. */
/* Logo effects disabled */

@keyframes logoGlow {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 6px rgba(153, 255, 0, 0.35)); }
    50% { filter: brightness(1.03) drop-shadow(0 0 8px rgba(153, 255, 0, 0.4)); }
}

@keyframes logoGlowFooter {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 4px rgba(153, 255, 0, 0.3)); }
    50% { filter: brightness(1.02) drop-shadow(0 0 5px rgba(153, 255, 0, 0.35)); }
}

.navbar .logo-image {
    display: block !important;
    width: auto !important;
    height: clamp(85px, 12vw, 115px) !important;
    max-width: min(340px, 48vw) !important;
    aspect-ratio: 1000 / 647 !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: brightness(1) drop-shadow(0 0 6px rgba(153, 255, 0, 0.35));
    animation: logoGlow 7s ease-in-out infinite;
}

.mobile-logo-image {
    display: block !important;
    width: auto !important;
    height: 80px !important;
    max-width: 220px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    aspect-ratio: 1000 / 647 !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: brightness(1) drop-shadow(0 0 2px rgba(153, 255, 0, 0.35)) drop-shadow(0 0 8px rgba(153, 255, 0, 0.1));
    animation: none !important;
}

.footer-logo-image {
    display: block !important;
    width: auto !important;
    height: clamp(95px, 14vw, 130px) !important;
    max-width: min(360px, 50vw) !important;
    aspect-ratio: 1000 / 647 !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: brightness(1) drop-shadow(0 0 4px rgba(153, 255, 0, 0.3));
    animation: logoGlowFooter 7s ease-in-out infinite;
}

@media (max-width: 768px) {
    .footer-logo-image {
        margin-left: auto !important;
        margin-right: auto !important;
        filter: brightness(1) drop-shadow(0 0 2px rgba(153, 255, 0, 0.3)) drop-shadow(0 0 6px rgba(153, 255, 0, 0.08)) !important;
        animation: none !important;
    }
}

.mobile-header-center {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Logo hover effects disabled */

@media (prefers-reduced-motion: reduce) {
    /* Logo effects already disabled */
}

@media (max-width: 1024px) {
    .navbar .logo {
        order: 2;
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 767px) {
    .navbar .logo-image {
        height: 82px !important;
        max-width: 235px !important;
        filter: brightness(1) drop-shadow(0 0 2px rgba(153, 255, 0, 0.35)) drop-shadow(0 0 8px rgba(153, 255, 0, 0.1)) !important;
        animation: none !important;
    }
}

/* Keep the expanded desktop navigation on one line after adding Shop. */
@media (min-width: 769px) and (max-width: 1400px) {
    .navbar .logo-image {
        width: auto !important;
        height: 78px !important;
        max-width: 165px !important;
    }

    .navbar .logo {
        margin-inline: 2px 8px !important;
    }

    .navbar .nav-menu {
        gap: 2px !important;
    }

    .navbar .nav-link {
        padding-inline: 5px !important;
        font-size: clamp(0.68rem, 0.88vw, 0.8rem) !important;
    }
}

/* Persistent store cart shortcut outside the Shop page. */
.global-store-cart {
    position: fixed;
    z-index: 998;
    right: 28px;
    bottom: 118px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px 10px 16px;
    border: 1px solid rgba(153, 255, 0, 0.52);
    border-radius: 999px;
    background: rgba(7, 11, 7, 0.94);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
}

.global-store-cart i { color: #99ff00; }
.global-store-cart strong {
    min-width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #293129;
    color: #99ff00;
    font-size: 0.7rem;
}
.global-store-cart.has-items strong { background: #99ff00; color: #071000; }
.global-store-cart:hover { background: #99ff00; color: #071000; transform: translateY(-2px); }
.global-store-cart:hover i { color: #071000; }

@media (max-width: 768px) {
    .global-store-cart {
        right: 14px;
        bottom: 92px;
        min-height: 46px;
        padding: 9px 10px 9px 13px;
    }
    .global-store-cart span { display: none; }
}
