/* PANTY DRAWER MOBILE REDESIGN */
@media (max-width: 768px) {
    /* Background image overlay */
    .nav-overlay,
    #navOverlay {
        background-image: url('/wp-content/themes/cfv2025/images/panty-drawer.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #000 !important;
    }
    
    /* Ensure it shows when open */
    .nav-overlay.open,
    #navOverlay.open {
        background-image: url('/wp-content/themes/cfv2025/images/panty-drawer.jpg') !important;
    }
    
    /* Hide the old image */
    .nav-overlay .panty-graphic-wrap,
    #navOverlay .panty-graphic-wrap {
        display: none !important;
    }
    
    /* Add logo to mobile panty drawer - same as header logo */
    .nav-overlay .panty-inner::before {
        content: '';
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1200/250 !important; /* Match logo aspect ratio */
        background-image: url('/wp-content/themes/cfv2025/images/custom-porn-fetish-videos-white.png') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        margin: 0 auto 0 auto !important; /* Removed bottom margin */
    }
    
    /* Ensure nav-overlay itself has no conflicting background from other CSS */
    .nav-overlay::before,
    #navOverlay::before {
        display: none !important;
    }
    
    /* Main content wrapper - no background to show image */
    .nav-overlay .panty-inner {
        background: transparent !important;
        padding: 70px 0 80px 0 !important; /* Increased top padding to 70px */
        width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    
    /* Hide intro text on mobile */
    .nav-overlay .panty-inner > div:first-of-type {
        display: none !important;
    }
    
    /* Hide Create My Fantasy button on mobile */
    .nav-overlay .cta-button {
        display: none !important;
    }
    
    /* Main navigation buttons - full width dark pink style */
    .nav-overlay .cta-button,
    .nav-overlay .main-nav ul li a,
    .nav-overlay .panty-links li a {
        display: block !important;
        width: 100% !important;
        background: rgba(236, 27, 97, 0.3) !important;
        color: white !important;
        padding: 20px 30px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        font-size: 18px !important;
        text-decoration: none !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin: 0 !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }
    
    /* Remove menu wrapper padding */
    .nav-overlay .main-nav {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .nav-overlay .main-nav ul,
    .nav-overlay .panty-links {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
    }
    
    .nav-overlay .main-nav ul li,
    .nav-overlay .panty-links li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Remove span wrapper from menu links */
    .nav-overlay .main-nav ul li a span,
    .nav-overlay .panty-links li a span {
        all: unset !important;
    }
    
    /* Hover state for nav buttons */
    .nav-overlay .cta-button:hover,
    .nav-overlay .main-nav ul li a:hover,
    .nav-overlay .panty-links li a:hover {
        background: rgba(236, 27, 97, 0.5) !important;
        transform: scale(1.02) !important;
    }
    
    /* Popular sections - differentiated styling */
    .nav-overlay .panty-inner > div {
        width: 100% !important;
        padding: 20px !important;
        margin-top: 30px !important;
    }
    
    /* Section titles */
    .nav-overlay .panty-inner > div > p {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 2px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    
    /* Keep pill buttons but make them more subtle */
    .nav-overlay .tag-btn {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(236, 27, 97, 0.5) !important;
        color: white !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        text-decoration: none !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        display: inline-block !important;
        margin: 3px !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-overlay .tag-btn:hover {
        background: rgba(236, 27, 97, 0.4) !important;
        border-color: rgba(236, 27, 97, 0.8) !important;
    }
}