/* ============================================
   TICKETALAY - Brand Voucher Store Styles
   ============================================ */

/* Points Banner - Enhanced */
.points-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #c41920 100%);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.points-banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.points-banner-info {
    flex: 1;
}

.points-banner-info span {
    font-size: 0.75rem;
    opacity: 0.9;
    display: block;
}

.points-banner-info strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.points-worth-tag {
    background: var(--secondary);
    color: var(--gray-900);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.search-bar svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    background: transparent;
    color: var(--gray-900);
}

.search-bar input::placeholder {
    color: var(--gray-400);
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Store Section */
.store-section {
    margin-bottom: 2rem;
}

/* Featured Carousel */
.featured-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.featured-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    position: relative;
    min-width: 300px;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.featured-image {
    height: 120px;
    background: linear-gradient(135deg, #ff9a00 0%, #ffcd00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.featured-image img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
}

.featured-info {
    padding: 1.25rem;
}

.featured-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.featured-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.featured-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

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

.new-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.brand-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Brand Logos */
.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Brand Logo Colors */
.brand-logo.myntra { background: linear-gradient(135deg, #ff3f6c 0%, #ff6f91 100%); }
.brand-logo.flipkart { background: linear-gradient(135deg, #2874f0 0%, #5a95f5 100%); }
.brand-logo.nykaa { background: linear-gradient(135deg, #fc2779 0%, #ff6b9d 100%); }
.brand-logo.ajio { background: linear-gradient(135deg, #1a1a1a 0%, #444 100%); }
.brand-logo.lifestyle { background: linear-gradient(135deg, #e91e63 0%, #f48fb1 100%); }
.brand-logo.shoppers { background: linear-gradient(135deg, #6a1b9a 0%, #ab47bc 100%); }
.brand-logo.westside { background: linear-gradient(135deg, #795548 0%, #a1887f 100%); }
.brand-logo.swiggy { background: linear-gradient(135deg, #fc8019 0%, #ffb74d 100%); }
.brand-logo.zomato { background: linear-gradient(135deg, #cb202d 0%, #ef5350 100%); }
.brand-logo.starbucks { background: linear-gradient(135deg, #00704a 0%, #4caf50 100%); }
.brand-logo.dominos { background: linear-gradient(135deg, #006491 0%, #e31837 100%); }
.brand-logo.mcdonalds { background: linear-gradient(135deg, #da291c 0%, #ffc72c 100%); }
.brand-logo.kfc { background: linear-gradient(135deg, #b20710 0%, #e53935 100%); font-size: 0.875rem; }
.brand-logo.pizzahut { background: linear-gradient(135deg, #e31837 0%, #ff8f00 100%); font-size: 0.875rem; }
.brand-logo.barbeque { background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%); font-size: 0.75rem; }
.brand-logo.makemytrip { background: linear-gradient(135deg, #eb2027 0%, #ff5252 100%); font-size: 0.75rem; }
.brand-logo.cleartrip { background: linear-gradient(135deg, #e74c3c 0%, #ff7675 100%); font-size: 0.875rem; }
.brand-logo.uber { background: linear-gradient(135deg, #000 0%, #333 100%); }
.brand-logo.ola { background: linear-gradient(135deg, #3ca03c 0%, #66bb6a 100%); }
.brand-logo.oyo { background: linear-gradient(135deg, #ee2e24 0%, #ff5252 100%); font-size: 0.875rem; }
.brand-logo.irctc { background: linear-gradient(135deg, #e53935 0%, #1565c0 100%); font-size: 0.875rem; }
.brand-logo.bookmyshow { background: linear-gradient(135deg, #c4242b 0%, #e53935 100%); font-size: 0.75rem; }
.brand-logo.netflix { background: linear-gradient(135deg, #e50914 0%, #ff5252 100%); }
.brand-logo.spotify { background: linear-gradient(135deg, #1db954 0%, #4caf50 100%); }
.brand-logo.hotstar { background: linear-gradient(135deg, #0c2e5a 0%, #1e88e5 100%); }
.brand-logo.primevideo { background: linear-gradient(135deg, #00a8e1 0%, #232f3e 100%); }
.brand-logo.gaana { background: linear-gradient(135deg, #e91e63 0%, #f48fb1 100%); }
.brand-logo.croma { background: linear-gradient(135deg, #0f9d58 0%, #4caf50 100%); }
.brand-logo.vijay { background: linear-gradient(135deg, #ff5722 0%, #ff8a65 100%); font-size: 0.875rem; }
.brand-logo.reliance { background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%); font-size: 0.875rem; }
.brand-logo.jio { background: linear-gradient(135deg, #0f52ba 0%, #42a5f5 100%); font-size: 0.875rem; }
.brand-logo.airtel { background: linear-gradient(135deg, #ed1c24 0%, #ff5252 100%); font-size: 0.875rem; }
.brand-logo.google { background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%); }

/* Brand Info */
.brand-info {
    flex: 1;
    min-width: 0;
}

.brand-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-category {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.25rem;
}

.brand-price {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.brand-price strong {
    color: var(--primary);
    font-weight: 600;
}

/* View More Section */
.view-more-section {
    text-align: center;
    padding: 2rem 0;
}

.view-more-section p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* Responsive */
@media (min-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .brand-logo {
        width: 64px;
        height: 64px;
    }
    
    .brand-info h4 {
        white-space: normal;
    }
}

@media (min-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-card {
        display: flex;
        min-width: 100%;
    }
    
    .featured-image {
        width: 200px;
        height: auto;
        min-height: 160px;
    }
    
    .featured-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

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