/* 
 * ZipPicks Vibes System Styles - $100B PRODUCTION DESIGN
 * Location: /wp-content/plugins/zippicks-vibes/assets/css/vibes-frontend.css
 * Version: 2.0.0 - PRODUCTION: Visual polish and UX enhancements
 * Premium responsive design optimized for conversion
 */

/* ==========================================================================
   Mobile-First Responsive Foundation
   ========================================================================== */

/* Reset box-sizing for all Vibes components */
.zp-vibes-wrapper *,
.zp-vibes-wrapper *::before,
.zp-vibes-wrapper *::after {
    box-sizing: border-box;
}

/* Ensure full viewport width on mobile without overflow */
.zp-vibes-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   Variables & Base Styles
   ========================================================================== */

:root {
    --zp-blue-main: #194FAD;
    --zp-blue-light: #5A9BFF;
    --zp-blue-dark: #0F3A82;
    --zp-green: #28A745;
    --zp-orange: #FF8000;
    --zp-gray-50: #f8f9fa;
    --zp-gray-100: #f1f3f4;
    --zp-gray-200: #e8eaed;
    --zp-gray-300: #dadce0;
    --zp-gray-400: #bdc1c6;
    --zp-gray-500: #9aa0a6;
    --zp-gray-600: #80868b;
    --zp-gray-700: #5f6368;
    --zp-gray-800: #3c4043;
    --zp-gray-900: #202124;
    
    --zp-shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --zp-shadow-md: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --zp-shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --zp-shadow-xl: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    
    --zp-radius-sm: 4px;
    --zp-radius-md: 8px;
    --zp-radius-lg: 12px;
    --zp-radius-xl: 16px;
    --zp-radius-2xl: 24px;
    
    --zp-transition: all 0.2s ease;
    --zp-transition-slow: all 0.3s ease;
    
    --zp-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


/* ==========================================================================
   Enhanced Hero Section - PRODUCTION DESIGN
   ========================================================================== */

.zp-vibes-hero {
    background: linear-gradient(135deg, var(--zp-blue-main) 0%, var(--zp-blue-light) 100%);
    color: white;
    padding: 60px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Desktop padding enhancement */
@media (min-width: 768px) {
    .zp-vibes-hero {
        padding: 100px 40px 80px;
    }
}

/* Subtle texture overlay */
.zp-vibes-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.zp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.zp-vibes-hero__title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: var(--zp-font-sans);
    color: white;
}

/* Progressive font sizing */
@media (min-width: 480px) {
    .zp-vibes-hero__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .zp-vibes-hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .zp-vibes-hero__title {
        font-size: 3.5rem;
        margin: 0 0 20px 0;
    }
}

.zp-vibes-hero__subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 16px;
    opacity: 0.95;
    max-width: 90%;
    font-weight: 400;
}

@media (min-width: 480px) {
    .zp-vibes-hero__subtitle {
        font-size: 1.125rem;
        max-width: 85%;
    }
}

@media (min-width: 768px) {
    .zp-vibes-hero__subtitle {
        font-size: 1.375rem;
        line-height: 1.6;
        max-width: 600px;
    }
}

/* Location Indicator - Elegant inline text */
.zp-location-indicator {
    display: inline-block;
    margin-bottom: 32px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.zp-location-indicator--hero {
    margin-top: 12px;
    margin-bottom: 0;
}

/* Enhanced Search Form */
.zp-hero-form {
    max-width: 600px;
    margin: 32px auto 0;
}

.zp-search-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 8px 32px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.zp-search-group:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 10px 36px rgba(0,0,0,0.1);
}

.zp-search-group:focus-within {
    box-shadow: 0 6px 24px rgba(0,0,0,0.15), 0 10px 40px rgba(0,0,0,0.12);
}

.zp-input--search {
    flex: 1;
    border: 0;
    padding: 20px 32px;
    font-size: 1.125rem;
    background: transparent;
    color: var(--zp-gray-800);
    border-radius: 60px;
    transition: var(--zp-transition);
    outline: none;
    font-family: var(--zp-font-sans);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    margin: 0;
    height: 100%;
}

.zp-input--search::placeholder {
    color: var(--zp-gray-400);
    font-weight: 400;
}

.zp-search-group .zp-btn--primary {
    background: var(--zp-blue-main);
    color: white;
    border: none;
    margin: 6px;
    padding: 16px 36px;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: var(--zp-font-sans);
    position: relative;
    box-shadow: 0 2px 8px rgba(25, 79, 173, 0.3);
}

.zp-search-group .zp-btn--primary:hover {
    background: var(--zp-blue-dark);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(25, 79, 173, 0.4);
}

.zp-search-group .zp-btn--primary:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Category Filter Chips - PRODUCTION DESIGN
   ========================================================================== */

.zp-category-filters {
    padding: 24px 0 16px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible; /* Critical: Don't block child scrolling */
}

@media (min-width: 768px) {
    .zp-category-filters {
        padding: 40px 0 20px;
        max-width: 1200px;
    }
}

/* Initial state - show right gradient if content might overflow */
@media (max-width: 1200px) {
    .zp-category-filters {
        /* Show right gradient by default on smaller screens */
    }
    
    .zp-category-filters::after {
        opacity: 0.8;
    }
}

/* Section label for categories */
.zp-section-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--zp-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding: 0 16px;
    text-align: left;
}

@media (min-width: 768px) {
    .zp-section-label {
        font-size: 0.875rem;
        margin-bottom: 12px;
        padding: 0 24px;
    }
}

/* Horizontal Scrollable Category Pills - Enterprise Solution */
.category-scroll-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 8px 16px;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    min-height: 48px;
    scroll-snap-type: x proximity;
    -webkit-transform: translateZ(0); /* Hardware acceleration */
    transform: translateZ(0);
}

@media (min-width: 768px) {
    .category-scroll-wrapper {
        padding: 12px 24px;
        min-height: 56px;
        margin: 0 0 16px 0;
    }
}

/* Desktop 2-row grid layout for categories */
@media (min-width: 1024px) {
    .category-scroll-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        overflow-x: visible;
        max-width: 100%;
        justify-content: center;
    }
    
    .category-pill {
        margin-right: 0; /* Remove margin, use gap instead */
    }
    
    .category-pill:last-child {
        margin-right: 0;
    }
}

/* Cross-browser scrollbar hiding */
.category-scroll-wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* Firefox-specific fix */
@-moz-document url-prefix() {
    .category-scroll-wrapper {
        overflow: -moz-scrollbars-none;
    }
}

/* Category Pills - Enhanced for scrolling */
.category-pill {
    display: inline-block;
    margin-right: 12px;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: capitalize;
    border-radius: 999px;
    background-color: #f0f2f5;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: none;
    font-family: var(--zp-font-sans);
    font-weight: 500;
    white-space: nowrap;
    outline: none;
    text-decoration: none;
    vertical-align: middle;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* Ensure last pill has right margin for scrolling */
.category-pill:last-child {
    margin-right: 24px;
}

.category-pill:hover {
    background-color: #e8eaed;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-pill.active {
    background-color: #194FAD;
    color: #fff;
    font-weight: 600;
}

.category-pill.active:hover {
    background-color: #0F3A82;
}

/* Subtle fade for scroll indication - much lighter */
.zp-category-filters {
    /* Removed overflow: hidden - was causing Chrome rendering issues */
    /* overflow: hidden; */
    position: relative; /* Maintain positioning context */
}

/* Scroll indicators - Enterprise-grade subtle gradients */
.zp-category-filters::before,
.zp-category-filters::after {
    content: '';
    position: absolute;
    top: 48px; /* Position after section label */
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

/* Left gradient (shows when scrolled) */
.zp-category-filters::before {
    left: 0;
    background: linear-gradient(to right,
        rgba(249, 250, 251, 1) 0%,
        rgba(249, 250, 251, 0.95) 30%,
        rgba(249, 250, 251, 0) 100%);
    opacity: 0;
}

/* Right gradient (shows when can scroll right) */
.zp-category-filters::after {
    right: 0;
    background: linear-gradient(to left,
        rgba(249, 250, 251, 1) 0%,
        rgba(249, 250, 251, 0.95) 30%,
        rgba(249, 250, 251, 0) 100%);
    opacity: 0;
}

/* Show gradients based on scroll state */
.zp-category-filters.scrolled::before {
    opacity: 1;
}

.zp-category-filters.can-scroll-right::after {
    opacity: 1;
}

/* Removed shadow effects for cleaner look */

/* Add subtle animation when pills become active */
.category-pill {
    position: relative;
    overflow: hidden;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.category-pill:active::before {
    width: 100px;
    height: 100px;
}

/* Legacy chip styles - kept for backwards compatibility */
.zp-category-chips-wrapper {
    width: 100%;
    margin: 0 auto 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 24px;
}

.zp-category-chips-wrapper::-webkit-scrollbar {
    display: none;
}

.zp-category-chips {
    display: flex;
    gap: 12px;
    padding: 4px 0;
    width: max-content;
    margin: 0 auto;
}

.zp-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--zp-gray-100);
    color: var(--zp-gray-700);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--zp-transition);
    white-space: nowrap;
    font-family: var(--zp-font-sans);
}

.zp-category-chip:hover {
    background: var(--zp-gray-200);
    transform: translateY(-1px);
}

.zp-category-chip.is-active {
    background: var(--zp-blue-main);
    color: white;
    font-weight: 600;
}

.zp-category-chip.is-active:hover {
    background: var(--zp-blue-dark);
}

.zp-vibes-count {
    font-size: 0.875rem;
    color: var(--zp-gray-600);
    font-weight: 400;
    text-align: center;
    padding-top: 12px;
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 768px) {
    .zp-category-filters {
        padding: 24px 0 16px;
    }
    
    .zp-section-label {
        padding: 0 16px;
        font-size: 0.8125rem;
    }
    
    .category-scroll-wrapper {
        padding: 8px 16px;
        min-height: 48px;
    }
    
    .category-pill {
        padding: 8px 16px;
        font-size: 13px;
        margin-right: 8px;
    }
    
    .category-pill:last-child {
        margin-right: 16px;
    }
    
    /* Adjust scroll indicators for mobile */
    .zp-category-filters::before,
    .zp-category-filters::after {
        width: 40px;
        top: 40px;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .category-scroll-wrapper {
        padding: 12px 20px;
    }
    
    .category-pill {
        padding: 9px 18px;
        font-size: 14px;
    }
}


/* Large desktop optimization */
@media (min-width: 1400px) {
    .zp-category-filters {
        padding: 48px 0 24px;
    }
    
    .category-scroll-wrapper {
        padding: 16px 32px;
        min-height: auto;
        gap: 16px;
    }
    
    .category-pill {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .category-scroll-wrapper {
        /* Enhanced touch scrolling */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    
    .category-pill {
        /* Larger touch targets */
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Disable hover effects on touch devices */
    .category-pill:hover {
        transform: none;
    }
    
    /* Enhanced active state for touch feedback */
    .category-pill:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* ==========================================================================
   Vibe Cards - PRODUCTION DESIGN
   ========================================================================== */

.zp-vibes-section {
    padding: 60px 0;
    background: #f9fafb;
}

.zp-vibes-header {
    text-align: center;
    margin-bottom: 48px;
}

.zp-vibes-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zp-gray-900);
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: var(--zp-font-sans);
}

.zp-vibes-header__subtitle {
    font-size: 1.125rem;
    color: var(--zp-gray-600);
    margin: 0;
    line-height: 1.5;
}

.zp-section-header {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    padding: 0 24px;
}

.zp-section-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zp-gray-900);
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: var(--zp-font-sans);
}

.zp-section-header__subtitle {
    font-size: 1.125rem;
    color: var(--zp-gray-600);
    margin: 0;
    line-height: 1.5;
}

/* Vibe Grid */
.zp-vibes-grid {
    display: grid;
    gap: 16px;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Mobile-first grid */
.zp-vibes-grid--responsive {
    grid-template-columns: 1fr;
}

/* Tablet grid */
@media (min-width: 640px) {
    .zp-vibes-grid {
        gap: 20px;
        padding: 0 20px;
    }
    
    .zp-vibes-grid--responsive {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Desktop grid */
@media (min-width: 1024px) {
    .zp-vibes-grid {
        gap: 24px;
        padding: 0 24px;
        max-width: 1400px;
    }
    
    .zp-vibes-grid--responsive {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

.zp-vibes-grid--featured {
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .zp-vibes-grid--featured {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 28px;
    }
}

/* Vibe Card Design - Enhanced */
.vibe-card,
.zp-vibe-card {
    background: white;
    border-radius: var(--zp-radius-lg);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: var(--zp-transition-slow);
    border: 1px solid var(--zp-gray-200);
    display: block;
    position: relative;
    overflow: hidden;
}

/* Desktop only: Equal height cards */
@media (min-width: 1024px) {
    .vibe-card,
    .zp-vibe-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.vibe-card:hover,
.zp-vibe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: var(--zp-blue-light);
}

/* Vibe Link Container */
.vibe-link,
.zp-vibe-link,
.zp-vibe-card__link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

/* Desktop only: Make link fill card height */
@media (min-width: 1024px) {
    .vibe-link,
    .zp-vibe-link,
    .zp-vibe-card__link {
        height: 100%;
    }
}

/* Vibe Icon - Blue Circle with White Icon */
.vibe-icon,
.zp-vibe-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--zp-blue-main) !important;
}

.vibe-icon img,
.zp-vibe-icon img,
.zp-vibe-icon-img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.zp-vibe-card__icon-letter {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

/* Card Content */
.zp-vibe-card-content {
    flex: 1;
    min-width: 0;
}

/* Desktop only: Make content flex to fill height */
@media (min-width: 1024px) {
    .zp-vibe-card-content {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

.vibe-name,
.zp-vibe-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--zp-gray-900);
    margin: 0 0 6px 0;
    line-height: 1.3;
    font-family: var(--zp-font-sans);
}

.vibe-desc,
.zp-vibe-card__description {
    font-size: 0.875rem;
    color: var(--zp-gray-600);
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Vibe Metadata */
.zp-vibe-meta,
.zp-vibe-card__meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--zp-gray-500);
    margin-top: auto;
}

/* Desktop only: Push meta to bottom */
@media (min-width: 1024px) {
    .zp-vibe-meta,
    .zp-vibe-card__meta {
        margin-top: auto;
        padding-top: 12px;
    }
}

.zp-vibe-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.zp-vibe-meta-separator,
.zp-vibe-card__separator {
    color: var(--zp-gray-400);
    margin: 0 2px;
}

.zp-vibe-card__spots,
.zp-vibe-card__zippers {
    color: var(--zp-gray-600);
}

/* Featured card variant */
.zp-vibe-card--featured {
    background: linear-gradient(135deg, white 0%, var(--zp-gray-50) 100%);
    border-width: 2px;
}

/* ==========================================================================
   National Vibes Section - PRODUCTION DESIGN
   ========================================================================== */

.zp-vibes-section--popular {
    background: var(--zp-gray-50);
    border-top: 1px solid var(--zp-gray-200);
    margin-top: 80px;
    padding: 80px 0;
}

.zp-vibes-grid--national {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
}

.zp-vibe-card--national {
    background: white;
    padding: 20px;
    gap: 16px;
    position: relative;
}

.zp-vibe-card--national .zp-vibe-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
}

.zp-vibe-card--national .zp-vibe-icon img {
    width: 24px;
    height: 24px;
}

.zp-vibe-card--national .zp-vibe-card__title {
    font-size: 1.125rem;
}

.zp-vibe-rank {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--zp-blue-main);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ==========================================================================
   Single Vibe Archive Page
   ========================================================================== */

.zp-vibe-header {
    background: linear-gradient(135deg, var(--zp-blue-main) 0%, var(--zp-blue-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.zp-vibe-hero {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.zp-vibe-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.zp-vibe-icon--hero {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.zp-vibe-icon--hero img {
    width: 48px;
    height: 48px;
}

.zp-vibe-text {
    flex: 1;
    text-align: center;
}

.zp-vibe-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.zp-vibe-description {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0 0 12px 0;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Business Grid - Enhanced Design
   ========================================================================== */

.zp-business-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 60px;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.zp-business-card {
    background: white;
    border-radius: var(--zp-radius-xl);
    overflow: hidden;
    box-shadow: var(--zp-shadow-md);
    transition: var(--zp-transition-slow);
    position: relative;
}

.zp-business-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--zp-shadow-xl);
}

.zp-business-rank {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--zp-blue-main);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--zp-shadow-md);
}

.zp-business-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--zp-gray-100);
}

.zp-business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--zp-transition-slow);
}

.zp-business-card:hover .zp-business-image img {
    transform: scale(1.05);
}

.zp-business-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--zp-gray-200) 0%, var(--zp-gray-100) 100%);
    color: var(--zp-gray-500);
    font-size: 3rem;
}

.zp-business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--zp-transition);
}

.zp-business-card:hover .zp-business-overlay {
    opacity: 1;
}

.zp-business-content {
    padding: 24px;
}

.zp-business-name {
    margin: 0 0 12px 0;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
}

.zp-business-name a {
    color: var(--zp-gray-900);
    text-decoration: none;
    transition: var(--zp-transition);
}

.zp-business-name a:hover {
    color: var(--zp-blue-main);
}

.zp-business-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.zp-business-type {
    background: var(--zp-gray-100);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    color: var(--zp-gray-700);
}

.zp-price-range {
    font-weight: 600;
    color: var(--zp-green);
    font-size: 1.125rem;
}

.zp-business-excerpt {
    color: var(--zp-gray-600);
    line-height: 1.5;
    margin: 0 0 20px 0;
    font-size: 0.9375rem;
}

.zp-business-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--zp-gray-200);
}

.zp-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zp-stars {
    display: flex;
    gap: 2px;
}

.zp-star {
    font-size: 16px;
    color: var(--zp-gray-300);
}

.zp-star.filled {
    color: var(--zp-orange);
}

.zp-rating-text {
    font-weight: 600;
    color: var(--zp-gray-700);
}

.zp-distance {
    font-size: 0.875rem;
    color: var(--zp-gray-600);
}

/* ==========================================================================
   Empty State - Enhanced Design
   ========================================================================== */

.zp-empty-state {
    text-align: center;
    padding: 80px 24px;
    background: white;
    border-radius: var(--zp-radius-2xl);
    margin: 60px auto;
    max-width: 600px;
    box-shadow: var(--zp-shadow-md);
}

.zp-empty-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.zp-empty-state__title {
    color: var(--zp-gray-900);
    margin: 0 0 16px 0;
    font-size: 2rem;
    font-weight: 700;
}

.zp-empty-state__message {
    color: var(--zp-gray-600);
    margin: 0 0 32px 0;
    font-size: 1.125rem;
    line-height: 1.5;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.zp-vibe-cta {
    background: var(--zp-gray-50);
    padding: 60px 40px;
    border-radius: var(--zp-radius-2xl);
    text-align: center;
    margin: 80px 0 40px;
    border: 1px solid var(--zp-gray-200);
}

.zp-cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--zp-gray-900);
    margin: 0 0 16px 0;
}

.zp-cta-content p {
    font-size: 1.125rem;
    color: var(--zp-gray-600);
    margin: 0 0 32px 0;
}

/* ==========================================================================
   Buttons - Enhanced Design
   ========================================================================== */

.zp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--zp-transition);
    font-size: 1rem;
    font-family: var(--zp-font-sans);
}

.zp-btn--primary {
    background: var(--zp-blue-main);
    color: white;
    border-color: var(--zp-blue-main);
}

.zp-btn--primary:hover {
    background: var(--zp-blue-dark);
    border-color: var(--zp-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--zp-shadow-md);
}

.zp-btn-outline {
    background: transparent;
    color: var(--zp-blue-main);
    border-color: var(--zp-blue-main);
}

.zp-btn-outline:hover {
    background: var(--zp-blue-main);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */

.zippicks-breadcrumb {
    background: var(--zp-gray-50);
    border-bottom: 1px solid var(--zp-gray-200);
    padding: 16px 0;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    color: var(--zp-gray-600);
    font-size: 0.875rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--zp-gray-400);
}

.breadcrumb-list a {
    color: var(--zp-blue-main);
    text-decoration: none;
    transition: var(--zp-transition);
}

.breadcrumb-list a:hover {
    color: var(--zp-blue-dark);
}

.breadcrumb-list .active {
    color: var(--zp-gray-900);
    font-weight: 500;
}

/* ==========================================================================
   Container System - Mobile-First
   ========================================================================== */

.zp-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 480px) {
    .zp-container {
        padding: 0 20px;
    }
}

@media (min-width: 768px) {
    .zp-container {
        padding: 0 24px;
    }
}

.zp-container--wide {
    max-width: 100%;
}

@media (min-width: 1400px) {
    .zp-container--wide {
        max-width: 1400px;
    }
}

.zp-container--fluid {
    max-width: 100%;
    padding: 0;
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .zp-vibes-hero {
        padding: 60px 0 50px;
    }
    
    .zp-vibes-hero__title {
        font-size: 2.5rem;
    }
    
    .zp-vibes-hero__subtitle {
        font-size: 1.125rem;
    }
    
    .zp-search-group {
        flex-direction: column;
        border-radius: var(--zp-radius-xl);
    }
    
    .zp-input--search {
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: var(--zp-radius-lg);
    }
    
    .zp-search-group .zp-btn--primary {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
        border-radius: var(--zp-radius-lg);
    }
    
    .zp-category-chips {
        justify-content: flex-start;
    }
    
    .zp-vibes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zp-vibe-card {
        padding: 20px;
    }
    
    .zp-vibe-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .zp-vibe-title {
        font-size: 2rem;
    }
    
    .zp-vibe-description {
        font-size: 1.125rem;
    }
    
    .zp-business-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .zp-section-header__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .zp-container {
        padding: 0 16px;
    }
    
    .zp-vibes-hero__title {
        font-size: 2rem;
    }
    
    .zp-category-chip {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    .zp-vibe-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
    
    .zp-vibe-icon img {
        width: 28px;
        height: 28px;
    }
    
    .zp-vibe-card__title {
        font-size: 1.125rem;
    }
}

/* ==========================================================================
   Desktop Enhancements
   ========================================================================== */

/* Tablet range fix - was missing styles between 768px and 1024px */
@media (min-width: 769px) and (max-width: 1023px) {
    .zp-vibes-wrapper {
        min-height: 100vh;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .zp-vibes-grid--responsive {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .zp-category-filters {
        display: block !important;
        min-height: auto !important;
    }
    
    .site-content,
    .content-area {
        display: block !important;
        min-height: 100vh !important;
    }
}

/* Chrome fix moved to foundation.css for better browser targeting */
/* Ensure grid containers maintain proper width */
body.vibes-archive .zp-vibes-grid,
body.vibes-archive .gb-grid-wrapper,
body.vibes-archive .gb-grid {
    width: 100%;
    max-width: 100%;
}

    /* Additional desktop styles */
    .zp-category-chips {
        gap: 16px;
    }
    
    .zp-vibes-grid--responsive {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
        gap: 32px;
    }

@media (min-width: 1400px) {
    .zp-vibes-grid--responsive {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
    
    .zp-business-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 40px;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.zp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
.zp-btn:focus,
.zp-category-chip:focus {
    outline: 3px solid var(--zp-blue-light);
    outline-offset: 2px;
}

.zp-input--search:focus {
    outline: none;
    box-shadow: none;
    border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   GeneratePress Theme Integration Fixes
   ========================================================================== */

/* Reset GeneratePress defaults on vibes pages */
body.archive-zippicks_vibes .site-content,
body.page-template-vibe-archive .site-content,
body.vibes-archive .site-content {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

body.archive-zippicks_vibes .content-area,
body.page-template-vibe-archive .content-area,
body.vibes-archive .content-area {
    width: 100%;
    max-width: 100%;
}

body.archive-zippicks_vibes .site-main,
body.page-template-vibe-archive .site-main,
body.vibes-archive .site-main {
    margin: 0;
}

/* Fix for full-width layout without horizontal scroll */
.zp-vibes-wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Remove margins from body on vibes pages */
body.vibes-archive,
body.page-template-vibe-archive {
    overflow-x: hidden;
}

/* Full-width sections */
.zp-vibes-hero,
.zp-category-filters,
.zp-vibes-section {
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

/* Remove GeneratePress container restrictions */
body.archive-zippicks_vibes .inside-article,
body.page-template-vibe-archive .inside-article {
    padding: 0;
}

/* Fix for when sidebar is active */
body.archive-zippicks_vibes.sidebar-content .content-area,
body.archive-zippicks_vibes.content-sidebar .content-area {
    width: 100%;
    float: none;
}

body.archive-zippicks_vibes #right-sidebar,
body.archive-zippicks_vibes #left-sidebar {
    display: none;
}

/* Ensure grid displays properly */
.zp-vibes-grid {
    box-sizing: border-box;
}

.zp-vibes-grid * {
    box-sizing: border-box;
}

/* ==========================================================================
   Anti-Scraping Watermark Protection
   ========================================================================== */

/* Hardened CSS to ensure watermarks remain completely invisible */
.zp-watermark,
.zp-fp,
.zp-zw {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Ensure child elements are also hidden */
.zp-watermark *,
.zp-fp *,
.zp-zw * {
    display: none !important;
    visibility: hidden !important;
}

/* REMOVED - Duplicate category filter styles - See lines 204-260 for main implementation */

/* ==========================================================================
   Vibe Archive Layout - Migrated from inline styles
   ========================================================================== */

/* REMOVED - Duplicate category pill styles - See lines 268-300 for main implementation */

/* REMOVED - Duplicate scroll indicators - See lines 313-353 for main implementation */

.zp-vibes-count {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
}

/* Vibes section */
.zp-vibes-section {
    background: #f8f9fa;
    padding: 40px 0;
    min-height: 400px;
}

.zp-container--wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.zp-vibes-header {
    text-align: center;
    margin-bottom: 40px;
}

.zp-vibes-header__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
}

.zp-vibes-header__subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Empty state */
.zp-empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.zp-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.zp-empty-state__title {
    font-size: 24px;
    margin: 0 0 8px;
}

.zp-empty-state__message {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   Grid Display Styles
   ========================================================================== */

.zp-vibes-grid,
.vibes-grid-inner,
.gb-grid {
    min-height: 100px;
    display: grid;
    width: 100%;
    align-items: start;
}

/* ==========================================================================
   Vibe List Template Styles - Migrated from vibe-list.php
   ========================================================================== */

/* Grid layout styles */
.zp-vibes-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.zp-vibes-grid--responsive {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Empty state centered in grid */
.zp-vibes-grid .zp-empty-state {
    grid-column: 1 / -1;
}

/* Mobile responsive grid */
@media (max-width: 640px) {
    .zp-vibes-grid,
    .zp-vibes-grid--responsive {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .zp-vibes-grid,
    .zp-vibes-grid--responsive {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation for cards */
.gb-grid-column {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation */
.gb-grid-column:nth-child(1) { animation-delay: 0ms; }
.gb-grid-column:nth-child(2) { animation-delay: 50ms; }
.gb-grid-column:nth-child(3) { animation-delay: 100ms; }
.gb-grid-column:nth-child(4) { animation-delay: 150ms; }
.gb-grid-column:nth-child(5) { animation-delay: 200ms; }
.gb-grid-column:nth-child(6) { animation-delay: 250ms; }
.gb-grid-column:nth-child(7) { animation-delay: 300ms; }
.gb-grid-column:nth-child(8) { animation-delay: 350ms; }
.gb-grid-column:nth-child(9) { animation-delay: 400ms; }
.gb-grid-column:nth-child(10) { animation-delay: 450ms; }

/* Continue pattern for more items */
.gb-grid-column:nth-child(n+11) { animation-delay: 500ms; }

/* ==========================================================================
   Vibe Item Component Styles - Migrated from vibe-item.php
   ========================================================================== */

.zp-vibe-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Desktop only: Equal height for duplicate card styles */
@media (min-width: 1024px) {
    .zp-vibe-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.zp-vibe-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.zp-vibe-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

/* Desktop only: Make link fill height */
@media (min-width: 1024px) {
    .zp-vibe-card__link {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.zp-vibe-card__inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Desktop only: Make inner fill height */
@media (min-width: 1024px) {
    .zp-vibe-card__inner {
        height: 100%;
    }
}

.zp-vibe-card__icon-wrapper {
    flex-shrink: 0;
}

.zp-vibe-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--zp-blue-main);
}

.zp-vibe-card__icon-img {
    filter: brightness(0) invert(1);
}

.zp-vibe-card__content {
    flex: 1;
    min-width: 0;
}

/* Desktop only: Make content flex properly */
@media (min-width: 1024px) {
    .zp-vibe-card__content {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

.zp-vibe-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px;
    line-height: 1.3;
}

.zp-vibe-card__description {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zp-vibe-card__meta {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.zp-vibe-card__meta-separator {
    color: #ccc;
}

/* Mobile adjustments for vibe cards */
@media (max-width: 480px) {
    .zp-vibe-card__link {
        padding: 16px;
    }
    
    .zp-vibe-card__icon {
        width: 48px;
        height: 48px;
    }
    
    .zp-vibe-card__title {
        font-size: 16px;
    }
}

/* Grid container support */
.vibes-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .vibes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vibes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .vibes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Single Vibe Page Styles - Migrated from vibe-single.php
   ========================================================================== */

/* Single Vibe Hero */
.zp-vibe-hero {
    padding: 80px 0 60px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--zp-blue-main) 0%, var(--zp-blue-light) 100%);
    position: relative;
    overflow: hidden;
}

.zp-vibe-hero__icon {
    background-color: rgba(255,255,255,0.2);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.zp-vibe-hero__icon img {
    filter: brightness(0) invert(1);
    width: 60px;
    height: 60px;
}

.zp-vibe-hero__title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: white;
    letter-spacing: -0.02em;
}

.zp-vibe-hero__subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 40px;
}

.zp-vibe-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.zp-vibe-stat {
    text-align: center;
}

.zp-vibe-stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.zp-vibe-stat__label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 8px;
}

.zp-business-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.zp-related-vibes-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.zp-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.zp-vibes-grid--related {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile adjustments for single vibe page */
@media (max-width: 768px) {
    .zp-vibe-hero__title {
        font-size: 2rem;
    }
    
    .zp-vibe-stats {
        gap: 40px;
    }
    
    .zp-vibe-stat__number {
        font-size: 2rem;
    }
    
    .zp-business-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Utility Classes - Enterprise Design System
   ========================================================================== */

/* Color utilities */
.zp-color-primary {
    color: var(--zp-blue-main) !important;
}

.zp-bg-primary {
    background-color: var(--zp-blue-main) !important;
}

/* Text utilities */
.zp-text-center {
    text-align: center !important;
}

/* Display utilities */
.zp-hidden {
    display: none !important;
}

/* Anti-scraping trap styles */
.zp-trap {
    position: absolute !important;
    left: -9999px !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Layout utilities */
.zp-mt-20 {
    margin-top: 20px !important;
}

/* Empty state variations */
.zp-empty-state--large {
    padding: 80px 0;
}

.zp-empty-icon--large {
    font-size: 64px;
}

/* Hero texture overlay */
.zp-hero-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), 
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ==========================================================================
   Critical Mobile Fixes - Enterprise Solution
   ========================================================================== */

/* Prevent horizontal scroll on all mobile devices */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Ensure all containers respect viewport */
    .zp-vibes-wrapper,
    .zp-vibes-hero,
    .zp-vibes-section,
    .zp-category-filters,
    .zp-section-header,
    .zp-vibes-header {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Fix container padding for small screens */
    .zp-container,
    .zp-container--wide {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    /* Ensure grids don't overflow */
    .zp-vibes-grid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Ultra-small mobile devices (< 375px) */
@media (max-width: 374px) {
    .zp-container,
    .zp-container--wide,
    .zp-vibes-grid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .category-scroll-wrapper {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Ensure content is centered on all devices */
@media (max-width: 1024px) {
    /* Center all main containers */
    .zp-vibes-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .zp-vibes-hero,
    .zp-vibes-section,
    .zp-category-filters {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Ensure hero content is centered */
    .zp-hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Center grid containers */
    .zp-vibes-grid {
        justify-content: center;
    }
}