/* Hero Section */
body {
    background: #f8f9fa;
}

.hero-parceiros {
    margin-top: 40px;
    padding: 40px 0 20px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.hero-parceiros .container {
    background: linear-gradient(135deg, #e91e1e 0%, #c41835 100%);
    border-radius: 20px;
    padding: 40px 40px;
    margin: 25px;
    box-shadow: -1px -4px 30px rgba(233, 30, 64, 0.2);
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    gap: 2px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-title i {
    font-size: 40px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 400;
}

/* Filtro Section */
.filtro-section {
    padding: 20px 0;
    background: #f8f9fa;
}

.filtro-container {
    display: flex;
    align-items: left;
    gap: 12px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 400px;
}

.filtro-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    cursor: pointer;
}

.filtro-icon {
    flex-shrink: 0;
    color: #e91e1e;
}

.filtro-select {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filtro-select:hover {
    border-color: #e91e1e;
    background: white;
}

.filtro-select:focus {
    outline: none;
    border-color: #e91e1e;
    background: white;
    box-shadow: 0 0 0 3px rgba(233, 30, 64, 0.1);
}

/* Lojas Section */
.lojas-section {
    padding: 0px 0;
    background: #f8f9fa;
    min-height: 60vh;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f4f6;
    border-top-color: #e91e1e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: #6b7280;
    font-size: 16px;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 80px 20px;
}

.error-state svg {
    margin-bottom: 20px;
}

.error-state h3 {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 12px;
}

.error-state p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 24px;
}

.btn-retry {
    background: #e91e1e;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-retry:hover {
    background: #c41835;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 64, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state svg {
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 12px;
}

.empty-state p {
    color: #6b7280;
    font-size: 16px;
}

/* Lojas Grid */
.lojas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    animation: fadeIn 0.5s ease;
}

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

/* Loja Card */
.loja-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.loja-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Image Carousel */
.loja-carousel {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
}

.carousel-images {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
}

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

.carousel-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e91e1e 0%, #c41818 100%);
    color: white;
    font-size: 64px;
}

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

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-arrow.prev {
    left: 12px;
}

.carousel-arrow.next {
    right: 12px;
}

/* Card Content */
.loja-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.loja-header {
    margin-bottom: 16px;
}

.loja-nome {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.aberto {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.fechado {
    background: #fee2e2;
    color: #991b1b;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Info Items */
.loja-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex: 1;
}

.info-item {
    display: flex;
    gap: 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #e91e1e;
    margin-top: 2px;
}

.info-text {
    flex: 1;
}

.info-text strong {
    color: #1f2937;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* Actions */
.loja-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-loja {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-directions {
    background: #e91e1e;
    color: white;
}

.btn-directions:hover {
    background: #c41835;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 64, 0.3);
}

.btn-instagram {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.4);
}

.btn-loja svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-parceiros .container {
        border-radius: 16px;
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-title i {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .filtro-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 100%;
    }

    .filtro-label {
        justify-content: left;
    }

    .lojas-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .loja-carousel {
        height: 200px;
    }

    .loja-content {
        padding: 20px;
    }

    .loja-nome {
        font-size: 20px;
    }

    .loja-actions {
        flex-direction: column;
    }

    .btn-loja {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-parceiros {
        padding: 40px 0 0px;
    }

    .hero-parceiros .container {
        border-radius: 12px;
        padding: 30px 20px;
        width: 89.3%;
    }

    .hero-title {
        font-size: 28px;
        flex-direction: column;
        gap: 8px;
    }

    .hero-title i {
        font-size: 28px;
    }

    .lojas-section {
        padding: 20px 0;
    }
}
