/**
 * List Page Styles
 * Mobile-First Responsive Design
 */

:root {
    --neon-red: #ff2d55;
    --neon-orange: #ff9500;
    --neon-yellow: #ffcc00;
    --neon-green: #30d158;
    --neon-blue: #0a84ff;
    --neon-purple: #bf5af2;
    --neon-pink: #ff375f;
    --dark-bg: #0d0d0d;
    --dark-card: #1a1a1a;
    --dark-card-hover: #252525;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--dark-bg);
    font-family: 'Space Mono', 'Segoe UI', Arial, sans-serif;
    color: #fff;
    line-height: 1.5;
}

/* Main Layout */
.lst-main {
    min-height: 100vh;
    background: var(--dark-bg);
    padding-bottom: 40px;
}

/* Hero Header */
.lst-hero {
    position: relative;
    padding: 90px 16px 40px;
    text-align: center;
    overflow: hidden;
}

.lst-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 45, 85, 0.2) 0%, transparent 60%),
        linear-gradient(180deg, #0d0d0d 0%, #111 100%);
    z-index: 1;
}

.lst-hero-content {
    position: relative;
    z-index: 2;
}

.lst-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.lst-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Filter Section */
.lst-filter {
    padding: 0 16px 20px;
    position: relative;
    z-index: 2;
}

.lst-filter-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lst-filter-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lst-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lst-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lst-filter-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lst-filter-chip.lst-active {
    background: linear-gradient(135deg, var(--neon-red), var(--neon-pink));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 45, 85, 0.3);
}

.lst-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lst-filter-toggle:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.lst-filter-toggle svg {
    transition: transform 0.3s ease;
}

.lst-filter-toggle.lst-expanded svg {
    transform: rotate(180deg);
}

/* Products Grid */
.lst-products-section {
    padding: 16px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.lst-products-container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.lst-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.lst-product-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.lst-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.lst-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--dark-card-hover);
}

.lst-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lst-product-card:hover .lst-product-image img {
    transform: scale(1.05);
}

.lst-product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-orange));
    color: #fff;
    font-family: 'Space Mono', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.lst-product-info {
    padding: 12px;
    text-align: center;
}

.lst-product-name {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lst-product-price {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Empty State */
.lst-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.lst-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.lst-empty h3 {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 8px 0;
}

.lst-empty p {
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   Pagination - Clean & Consistent
   ============================================ */
.lst-pg {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    gap: 4px;
    background: transparent;
}

.lst-pg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lst-pg-btn:hover:not(.lst-pg-disabled):not(.lst-pg-active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.lst-pg-active {
    background: linear-gradient(135deg, var(--neon-red), var(--neon-pink));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(255, 45, 85, 0.35);
}

.lst-pg-disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.lst-pg-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: rgba(255, 255, 255, 0.25);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
}

.lst-pg-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Tablet */
@media (min-width: 768px) {
    .lst-pg {
        padding: 36px 32px;
        gap: 6px;
    }

    .lst-pg-btn {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .lst-pg-ellipsis {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .lst-pg {
        padding: 48px 40px;
        gap: 8px;
    }

    .lst-pg-btn {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .lst-pg-ellipsis {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .lst-hero {
        padding: 110px 32px 50px;
    }

    .lst-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .lst-subtitle {
        font-size: 1rem;
    }

    .lst-filter {
        padding: 0 32px 24px;
    }

    .lst-filter-container {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .lst-filter-label {
        font-size: 0.75rem;
    }

    .lst-filter-chips {
        gap: 10px;
    }

    .lst-filter-chip {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .lst-filter-toggle {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .lst-products-section {
        padding: 20px 32px;
    }

    .lst-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .lst-product-info {
        padding: 16px;
    }

    .lst-product-name {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .lst-product-price {
        font-size: 1.1rem;
    }

    .lst-product-badge {
        top: 10px;
        right: 10px;
        font-size: 0.6rem;
        padding: 5px 10px;
    }

    .lst-pg {
        padding: 36px 32px;
        gap: 6px;
    }

    .lst-pg-btn {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .lst-pg-ellipsis {
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .lst-hero {
        padding: 130px 40px 60px;
    }

    .lst-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .lst-subtitle {
        font-size: 1.1rem;
    }

    .lst-filter {
        padding: 0 40px 30px;
    }

    .lst-products-section {
        padding: 24px 40px;
    }

    .lst-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .lst-product-card {
        border-radius: 16px;
    }

    .lst-product-badge {
        top: 12px;
        right: 12px;
    }

    .lst-pg {
        padding: 48px 40px;
        gap: 8px;
    }
}

/* Large Desktop */
@media (min-width: 1300px) {
    .lst-products-container {
        max-width: 1400px;
    }

    .lst-filter-container {
        max-width: 1400px;
        margin: 0 auto;
    }

    .lst-hero-content {
        max-width: 1400px;
        margin: 0 auto;
    }
}