/*
Theme Name: CannaCrazy
Theme URI: https://cannacrazy.co.za
Author: CannaCrazy Co.
Author URI: https://cannacrazy.co.za
Description: Custom WordPress theme for CannaCrazy Social Club. Optimized for LiteSpeed Cache on Hostinger Business Hosting.
Version: 1.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cannacrazy
Tags: cannabis, social-club, e-commerce
*/

/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #000 !important;
    /* Force black background */
    color: #ffffff;
    line-height: 1.6;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
    font-family: 'Permanent Marker', cursive !important;
    text-transform: uppercase;
    line-height: 1.2;
}

.body-font {
    font-family: 'Inter', sans-serif;
}

/* ===========================
   NEON TEXT EFFECTS
   =========================== */
.neon-text-green,
.text-neon-green {
    text-shadow: 0 0 5px #39FF14, 0 0 8px rgba(57, 255, 20, 0.4);
    color: #39FF14;
}

.neon-text-purple,
.text-neon-purple {
    text-shadow: 0 0 5px #BC13FE, 0 0 8px rgba(188, 19, 254, 0.4);
    color: #BC13FE;
}

.neon-text-yellow,
.text-neon-yellow {
    text-shadow: 0 0 5px #FBFF00, 0 0 8px rgba(251, 255, 0, 0.4);
    color: #FBFF00;
}

.neon-text-blue,
.text-neon-blue {
    text-shadow: 0 0 5px #00D2FF, 0 0 8px rgba(0, 210, 255, 0.4);
    color: #00D2FF;
}

/* ===========================
   ANIMATED BACKGROUND
   =========================== */
@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-bg {
    background: linear-gradient(-45deg, #121212, #1a1a2e, #2e1a47, #121212);
    background-size: 400% 400%;
    animation: gradient-move 15s ease infinite;
}

#background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.shimmer-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* ===========================
   SCROLLBAR STYLING
   =========================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #39FF14;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2de000;
}

/* ===========================
   NAVIGATION (CENTERED)
   =========================== */
.site-header {
    position: fixed !important;
    z-index: 100 !important;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 0.5rem 1rem;
    max-height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-navigation {
    flex-grow: 1;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 2rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.main-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-navigation li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* CSS Hiding Rules Removed - Menu is now Hardcoded in Header.php */

html,
body {
    height: auto !important;
    min-height: 100% !important;
}

.site-logo {
    font-size: 2.25rem;
    font-family: 'Permanent Marker', cursive;
    font-style: italic;
    color: #39FF14 !important;
    letter-spacing: -0.025em;
    text-shadow: 0 0 5px #39FF14, 0 0 8px rgba(57, 255, 20, 0.4);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* ===========================
   MOBILE HEADER — max-width: 768px
   Boutique feel: tight, no-overlap, smooth
   =========================== */
@media (max-width: 768px) {
    .site-header {
        padding: 0 !important;
        /* Allow header to grow if nav wraps */
        height: auto !important;
        min-height: 60px !important;
        max-height: none !important;
        background: rgba(0, 0, 0, 0.97) !important;
        backdrop-filter: blur(12px) !important;
    }

    .header-container {
        display: flex !important;
        flex-direction: row !important;
        /* flex-wrap: wrap lets logo+nav+cart stack gracefully if space
           runs out, preventing element overlap */
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 8px 12px !important;
        min-height: 60px !important;
        gap: 8px !important;
    }

    /* ── Left: Logo ─────────────────────────────────── */
    .header-left {
        flex: 0 0 auto !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    .site-logo {
        font-size: 1.2rem !important;
        white-space: nowrap !important;
        letter-spacing: -0.01em !important;
        font-style: italic !important;
        margin: 0 !important;
    }

    /* ── Centre: Navigation Links ─────────────────────── */
    .main-navigation {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        backdrop-filter: none !important;
    }

    /* nav-links gap: 12px as specified */
    .main-navigation ul,
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* nav-links font-size: 14px as specified */
    .main-navigation a,
    .nav-links a {
        font-size: 14px !important;
        padding: 4px 8px !important;
        white-space: nowrap !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 6px !important;
        letter-spacing: 0.07em !important;
        transition: background 0.2s ease, color 0.2s ease !important;
    }

    .main-navigation a:hover,
    .nav-links a:hover {
        background: rgba(57, 255, 20, 0.15) !important;
        color: #39FF14 !important;
    }

    /* ── Right: Cart — always flush-right, never squeezed ── */
    .header-right {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        /* nav text cannot squeeze the cart */
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin-left: auto !important;
    }

    .header-cart,
    .cart-button {
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        /* Subtle neon-green glow pill */
        background: rgba(57, 255, 20, 0.1) !important;
        border-radius: 50% !important;
        padding: 8px !important;
        transition: background 0.2s ease !important;
    }

    .header-cart:hover,
    .cart-button:hover {
        background: rgba(57, 255, 20, 0.22) !important;
    }

    .cart-button img {
        width: 35px !important;
        height: 35px !important;
        object-fit: contain !important;
    }

    .cart-count {
        width: 1.2rem !important;
        height: 1.2rem !important;
        font-size: 0.55rem !important;
        top: 0 !important;
        right: 0 !important;
    }
}

.hero-section,
.shop-section,
.container {
    display: block !important;
    padding-top: 80px !important;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Reverted Cart Glow to Neon Green */
.cart-button:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px #39FF14);
}

.neon-pulse {
    animation: neon-pulse-anim 2s infinite ease-in-out;
}

@keyframes neon-pulse-anim {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 25px rgba(57, 255, 20, 0.8));
    }
}

/* Neon Pulse Effect */
.cart-button img {
    transition: all 0.3s ease;
}


/* End of Header Refinement */

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.header-left,
.header-right {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    flex-shrink: 0;
}

/* Main Navigation Base Styling (Merged) */

@media (max-width: 1024px) {
    .header-container {
        gap: 1rem;
    }

    .main-navigation {
        padding: 0.5rem 1rem;
    }

    .main-navigation ul {
        gap: 1rem;
    }

    .site-logo {
        font-size: 1.75rem !important;
        font-style: italic !important;
    }
}

/* Consistently handled in header-container media queries */

.site-logo:hover {
    text-shadow: 0 0 5px #39FF14, 0 0 8px rgba(57, 255, 20, 0.4);
}

/* Consolidated navigation styles moved to line 154 */

.main-navigation a {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: #39FF14 !important;
    text-shadow: 0 0 5px #39FF14, 0 0 8px rgba(57, 255, 20, 0.4);
}

.main-navigation a.current-menu-item {
    color: #BC13FE !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-button {
    position: relative;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-button:hover .cart-icon {
    text-shadow: 0 0 5px #39FF14, 0 0 8px rgba(57, 255, 20, 0.4);
}

.cart-icon {
    font-size: 1.875rem;
    transition: all 0.3s ease;
}

.cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #BC13FE;
    color: white;
    font-size: 0.625rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    border: 2px solid #000;
}

.join-button {
    padding: 0.5rem 1.5rem;
    background-color: #39FF14;
    color: #000;
    font-weight: 900;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0px 0px rgba(255, 255, 255, 1);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.join-button:hover {
    transform: scale(1.05);
}

.join-button:active {
    transform: scale(0.95);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 9rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .highlight {
    color: #39FF14;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    max-width: 1024px;
    margin: 0 auto 4rem;
    opacity: 0.8;
    line-height: 1.8;
}

.trust-indicator {
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.trust-line {
    width: 3rem;
    height: 2px;
    background-color: #39FF14;
}

/* ===========================
   INFO BLOCKS
   =========================== */
.info-blocks {
    padding: 8rem 1.5rem;
    background-color: white;
    color: black;
    border-radius: 5rem;
    margin: 1rem 2.5rem;
    position: relative;
    z-index: 20;
}

.info-grid {
    max-width: 1536px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.5rem;
}

.info-card:hover .info-icon {
    transform: rotate(12deg);
}

.info-card .info-icon.green {
    background-color: #39FF14;
    transform: rotate(3deg);
}

.info-card .info-icon.purple {
    background-color: #BC13FE;
    transform: rotate(-3deg);
    color: white;
}

.info-card .info-icon.yellow {
    background-color: #FBFF00;
    transform: rotate(6deg);
}

.info-title {
    font-size: 2.25rem;
}

.info-description {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ===========================
   SHOP SECTIONS
   =========================== */
.shop-section {
    padding: 5rem 1.5rem;
}

.shop-container {
    max-width: 1920px;
    margin: 0 auto;
}

.section-header {
    max-width: 1536px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}

.shop-section-title {
    color: #ffffff !important;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(3rem, 6vw, 8rem);
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-header h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    margin-bottom: 1rem;
    color: #6b7280;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Grade Tunnels */
.grade-tunnel {
    margin-bottom: 4rem;
    border-left: 4px solid;
    padding-left: 1.5rem;
}

.grade-tunnel.greenhouse {
    border-left-color: #FBFF00;
}

.grade-tunnel.a {
    border-left-color: rgba(255, 255, 255, 0.5);
}

.grade-tunnel.aa {
    border-left-color: #BC13FE;
}

.grade-tunnel.aaa {
    border-left-color: #39FF14;
}

.grade-title {
    font-size: 1.875rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.grade-badge {
    font-size: 0.75rem;
    background-color: #39FF14;
    color: black;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 900;
}

/* Product Scroll */
.product-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.product-scroll::-webkit-scrollbar {
    height: 6px;
}

.product-card {
    flex-shrink: 0;
    width: 350px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    border-color: #39FF14;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* LiteSpeed optimization: Images use native lazy loading via HTML attribute loading="lazy" */
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    font-weight: bold;
}

.product-description {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-effects {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.effect-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(57, 255, 20, 0.2);
    color: #39FF14;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #39FF14;
    color: black;
    border: none;
    border-radius: 1rem;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-section {
    padding: 5rem 1.5rem;
    overflow: hidden;
    background-color: #0a0a0a;
}

.testimonials-header {
    max-width: 1536px;
    margin: 0 auto 3rem;
    text-align: center;
}

.testimonials-title {
    font-size: clamp(2.5rem, 5vw, 7rem);
    margin-bottom: 1rem;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-left 40s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #39FF14;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars .star {
    color: #39FF14;
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.125rem;
}

.testimonial-author {
    font-family: 'Permanent Marker', cursive;
    color: #39FF14;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    padding: 10rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #39FF14;
    color: black;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 9rem);
    margin-bottom: 2rem;
    line-height: 1;
}

.cta-title .highlight {
    background-color: black;
    color: #39FF14;
    padding: 0 1rem;
}

.cta-description {
    font-size: 1.5rem;
    max-width: 672px;
    margin-bottom: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.cta-button {
    padding: 1.25rem 2.5rem;
    background-color: black;
    color: white;
    font-weight: 900;
    font-size: 1.25rem;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(0.95);
}

.cta-disclaimer {
    margin-top: 2rem;
    font-size: 0.875rem;
    opacity: 0.6;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    padding: 2.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.footer-container {
    max-width: 1536px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-weight: bold;
    align-items: center;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #39FF14;
}

.maps-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    transition: all 0.3s ease;
    color: white;
}

.maps-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===========================
   MODALS
   =========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: #1a1a1a;
    border-radius: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99999 !important;
}

.modal-close:hover {
    background-color: #39FF14;
    color: black;
}

/* ===========================
   CART SIDEBAR
   =========================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background-color: #0a0a0a;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999999 !important;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-size: 2rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #1a1a1a;
    border-radius: 1rem;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(57, 255, 20, 0.3);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 2rem;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: #39FF14;
    color: black;
}

.cart-item-quantity {
    font-weight: bold;
    min-width: 2rem;
    text-align: center;
}

.remove-item-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.remove-item-btn:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: #39FF14;
    color: black;
    border: none;
    border-radius: 1rem;
    font-weight: 900;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

.checkout-btn:active {
    transform: scale(0.95);
}

.empty-cart {
    padding: 3rem;
    text-align: center;
    color: #6b7280;
}

/* ===========================
   MOBILE RESPONSIVENESS
   =========================== */
@media (max-width: 768px) {
    /* Persistent navigation row enabled */

    .join-button {
        display: none;
    }

    .info-blocks {
        border-radius: 2rem;
        margin: 1rem;
        padding: 4rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
    }

    .section-subtitle {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.hidden {
    display: none;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ===========================
   WORDPRESS ADMIN BAR FIX
   =========================== */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ===========================
   LITESPEED CACHE OPTIMIZATION
   =========================== */
/* ESI block markers are handled via PHP */
/* Images use native loading="lazy" attribute */
/* Critical CSS is inlined via functions.php */

/* ===========================
   UTILITY CLASSES & HELPERS
   =========================== */
.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.main-content {
    position: relative;
    z-index: 10;
}

/* ===========================
   BENTO GRID & CARDS
   =========================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
}

.bento-card {
    grid-column: span 12;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.info-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 32px;
    padding: 3rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.4s ease;
}

.info-card:hover,
.bento-card:hover {
    transform: translateY(-10px);
}

@media (min-width: 768px) {
    .bento-card.span-4 {
        grid-column: span 4;
    }

    .bento-card.span-8 {
        grid-column: span 8;
    }

    .bento-card.span-6 {
        grid-column: span 6;
    }
}

.bento-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(57, 255, 20, 0.5) !important;
    box-shadow: 0 30px 60px -12px rgba(57, 255, 20, 0.15);
}

.bento-card::before,
.info-card::before {
    display: none !important;
}

.bento-icon,
.info-icon {
    font-size: 5rem !important;
    margin: 0 auto 2rem auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none !important;
}

.bento-title,
.info-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: #ffffff !important;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.bento-text,
.info-description {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.125rem;
    line-height: 1.8;
    text-align: center;
}

/* ===========================
   GRADED SHOP SECTIONS
   =========================== */
.shop-section {
    padding: 8rem 0;
    position: relative;
}

.grade-tunnel {
    margin-bottom: 6rem;
    border-left: none !important;
    padding-left: 0 !important;
}

/* Grade-Specific Neon Branding */
.shop-section-title {
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.grade-greenhouse .grade-title,
.grade-greenhouse .shop-section-title {
    color: #39FF14 !important;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.grade-a .grade-title,
.grade-a .shop-section-title {
    color: #FF5F1F !important;
    text-shadow: 0 0 8px rgba(255, 95, 31, 0.4);
}

.grade-aa .grade-title,
.grade-aa .shop-section-title {
    color: #FBFF00 !important;
    text-shadow: 0 0 8px rgba(251, 255, 0, 0.4);
}

.grade-aaa .grade-title,
.grade-aaa .shop-section-title {
    color: #BC13FE !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.grade-title {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Global Background Refinement */
.animated-bg {
    background: #000000;
}

#background-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.neon-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    animation: pulse 10s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

/* GS Logo Slider Integration */
.social-proof-slider {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-proof-slider:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .social-proof-slider {
        padding: 1rem 0;
    }
}

/* Modal Overlay Z-Index Fix */
.modal-overlay {
    z-index: 9999 !important;
}

/* ===========================
   DROPDOWN SELECT FIX
   =========================== */
select option,
select optgroup {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

#reservation_time,
#reserve-time {
    background-color: rgba(30, 30, 30, 0.95) !important;
    color: #ffffff !important;
    -webkit-appearance: menulist;
    appearance: menulist;
}

#reservation_time option,
#reserve-time option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.5rem;
}

#reservation_time optgroup,
#reserve-time optgroup {
    background-color: #111111;
    color: #39FF14;
    font-weight: bold;
}

/* ===========================
   +21 AGE GATE OVERLAY
   =========================== */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
}

.age-gate-overlay.age-gate--visible {
    opacity: 1;
}

.age-gate-overlay.age-gate--exiting {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Backdrop  ──────────────────────────────────────── */
.age-gate-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(30, 0, 60, 0.95) 0%, rgba(0, 0, 0, 0.97) 70%);
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
}

/* ── Card ───────────────────────────────────────────── */
.age-gate-card {
    position: relative;
    z-index: 1;
    max-width: 520px;
    width: 100%;
    padding: 3rem 2.5rem;
    text-align: center;
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid rgba(57, 255, 20, 0.15);
    border-radius: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 60px rgba(57, 255, 20, 0.08),
        0 0 120px rgba(188, 19, 254, 0.06),
        0 25px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.age-gate--visible .age-gate-card {
    transform: translateY(0);
}

.age-gate--exiting .age-gate-card {
    transform: translateY(30px);
}

/* ── Icon ───────────────────────────────────────────── */
.age-gate-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: age-gate-float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.5));
}

@keyframes age-gate-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── Heading ────────────────────────────────────────── */
.age-gate-heading {
    font-family: 'Permanent Marker', cursive !important;
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    text-shadow:
        0 0 10px rgba(57, 255, 20, 0.3),
        0 0 30px rgba(188, 19, 254, 0.15);
    line-height: 1.15;
}

/* ── Subtext ────────────────────────────────────────── */
.age-gate-subtext {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Divider ────────────────────────────────────────── */
.age-gate-divider {
    width: 60px;
    height: 3px;
    margin: 0 auto 2rem;
    background: linear-gradient(90deg, #39FF14, #BC13FE);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
}

/* ── Buttons container ──────────────────────────────── */
.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* ── Base button ────────────────────────────────────── */
.age-gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    min-height: 56px;
    padding: 1rem 2rem;
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(1.05rem, 3vw, 1.25rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ── YES button ─────────────────────────────────────── */
.age-gate-btn--yes {
    background: linear-gradient(135deg, #39FF14 0%, #1ecb6f 40%, #BC13FE 100%);
    color: #000;
    font-weight: 900;
    box-shadow:
        0 0 20px rgba(57, 255, 20, 0.35),
        0 0 40px rgba(188, 19, 254, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: age-gate-glow 2.5s ease-in-out infinite;
}

@keyframes age-gate-glow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(57, 255, 20, 0.35),
            0 0 40px rgba(188, 19, 254, 0.15),
            0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow:
            0 0 35px rgba(57, 255, 20, 0.55),
            0 0 60px rgba(188, 19, 254, 0.25),
            0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

.age-gate-btn--yes:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow:
        0 0 40px rgba(57, 255, 20, 0.6),
        0 0 80px rgba(188, 19, 254, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

.age-gate-btn--yes:active {
    transform: scale(0.97);
}

/* ── NO button ──────────────────────────────────────── */
.age-gate-btn--no {
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 48px;
}

.age-gate-btn--no:hover {
    background: rgba(255, 50, 50, 0.08);
    border-color: rgba(255, 80, 80, 0.3);
    color: rgba(255, 100, 100, 0.9);
    transform: translateY(-1px);
}

.age-gate-btn--no:active {
    transform: scale(0.97);
}

/* ── Legal fine print ───────────────────────────────── */
.age-gate-legal {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* ── Mobile tweaks ──────────────────────────────────── */
@media (max-width: 480px) {
    .age-gate-card {
        padding: 2.5rem 1.5rem;
        border-radius: 1.5rem;
    }

    .age-gate-btn {
        max-width: 100%;
        min-height: 60px;
        font-size: 1.15rem;
    }

    .age-gate-btn--no {
        min-height: 52px;
    }

    .age-gate-icon {
        font-size: 2.8rem;
    }
}