:root {
    --primary-purple: #45046a;
    --light-purple: #f8f5ff;
    --medium-purple: #e6e0ff;
    --dark-purple: #2d0154;
}

.text-purple {
    color: var(--primary-purple) !important;
}

.bg-purple {
    background-color: var(--primary-purple) !important;
}

/* Header Styles */
.stores-header {
    background: linear-gradient(135deg, var(--light-purple) 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.page-title {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 2.5rem;
}

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

.stores-count {
    border: 2px solid var(--medium-purple);
    font-weight: 600;
}

/* Breadcrumb Styling */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-weight: bold;
}

.breadcrumb-item a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--dark-purple);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Alphabet Filter Styles */
.alphabet-filter-container {
    max-width: 800px;
    margin: 0 auto;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alphabet-grid {
    gap: 0.5rem;
}

.alphabet-letter {
    width: 45px;
    height: 45px;
    text-decoration: none;
    color: var(--primary-purple);
    background-color: var(--light-purple);
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.alphabet-letter:hover {
    background-color: var(--medium-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(69, 4, 106, 0.2);
}

.alphabet-letter.active {
    background-color: var(--primary-purple);
    color: white;
    border-color: var(--dark-purple);
    transform: scale(1.1);
}

/* Store Card Styles */
.store-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15) !important;
}

.store-image-container {
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(135deg, var(--light-purple) 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
}

.store-image {
    width: 100px;
    height: 100px;
    object-fit: fill;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.store-card:hover .store-image {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.store-info {
    padding: 1.25rem;
}

.store-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.store-offers {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.store-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.store-link:hover {
    color: var(--dark-purple);
    text-decoration: underline;
}

/* Pagination Styles */
.pagination {
    margin-bottom: 0;
}

.page-link {
    color: var(--primary-purple);
    font-weight: 600;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--light-purple);
    border-color: var(--medium-purple);
    color: var(--dark-purple);
}

.page-item.active .page-link {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
}

/* CTA Section */
.stores-cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
}

.cta-title {
    font-weight: 700;
    font-size: 2rem;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Loading Animation */
@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.spinner-border {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

/* Empty State */
.stores-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.stores-empty-icon {
    font-size: 4rem;
    color: var(--light-purple);
    margin-bottom: 1.5rem;
}

.stores-empty-title {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 1rem;
}

.stores-empty-text {
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .alphabet-letter {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .store-image {
        width: 80px;
        height: 80px;
    }

    .store-name {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.75rem;
    }

    .alphabet-letter {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .store-image {
        width: 70px;
        height: 70px;
    }

    .store-name {
        font-size: 0.95rem;
    }

    .page-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.9rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .alphabet-grid {
        gap: 0.25rem;
    }

    .alphabet-letter {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}
