/* Product Listing Styles */
.product-listing-container {
    min-height: 100vh;
    background: #030303;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.product-listing-header {
    position: sticky;
    top: 24px;
    z-index: 20;
    margin-bottom: 32px;
    padding: 16px;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
}

.back-button {
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 12px auto;
    width: fit-content;
}

.page-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, #a78bfa, rgba(255, 255, 255, 0.9), #f472b6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0;
    font-family: 'Pacifico', cursive;
}

.product-feed {
    max-width: 448px;
    margin: 0 auto;
    padding: 0 16px;
}

.simple-product-card {
    background: #0A0A0F;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.card-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6366f1, #f43f5e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.brand-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

.category {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin: 0;
}

.image-container {
    position: relative;
    aspect-ratio: 4/5;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 16px;
}

.product-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 18px;
    margin: 0 0 4px 0;
}

.product-brand {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0 0 8px 0;
}

.product-price {
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 12px 0;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.save-btn, .try-on-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.save-btn:hover, .try-on-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.save-btn.favorite {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.load-more-btn {
    width: 100%;
    padding: 16px;
    margin: 24px 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.end-message {
    text-align: center;
    padding: 32px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 640px) {
    .product-listing-header {
        margin: 16px;
        top: 16px;
    }
    
    .product-feed {
        padding: 0 16px;
    }
    
    .page-title {
        font-size: 20px;
    }
}

/* Enhanced Product Card with Image Carousel */
.product-card {
    background: #0A0A0F;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.product-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-info {
    flex: 1;
}

.image-carousel {
    position: relative;
    aspect-ratio: 4/5;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    z-index: 10;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.nav-prev {
    left: 16px;
}

.nav-next {
    right: 16px;
}

.image-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active {
    background: #ffffff;
    transform: scale(1.25);
}

.product-info {
    padding: 16px;
}

.product-details {
    margin-bottom: 12px;
} 