/* ========== SEÇÃO DE LOJAS - DESIGN TIPO MARKETPLACE ========== */
.stores-section-new {
    padding: 5rem 0;
    background: #FAFAFA;
}

.stores-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.store-card-new {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.store-card-new:hover {
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}

/* Imagem da Loja */
.store-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-card-new:hover .store-image img {
    transform: scale(1.05);
}

/* Conteúdo do Card */
.store-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Nome da Loja */
.store-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Localização */
.store-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.store-location i {
    color: #A066AA;
    font-size: 0.95rem;
}

/* Descrição */
.store-description {
    color: #4B5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating Completo */
.store-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-stars i {
    color: #FBBF24;
    font-size: 1rem;
}

.rating-stars i.empty {
    color: #D1D5DB;
}

.rating-score {
    font-weight: 700;
    color: #111827;
    font-size: 1rem;
}

.rating-count {
    color: #6B7280;
    font-size: 0.85rem;
}

/* Badges de Categorias */
.store-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: rgba(160, 102, 170, 0.1);
    color: #A066AA;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(160, 102, 170, 0.2);
}

.category-badge i {
    font-size: 0.7rem;
}

/* Botão CTA Sofisticado */
.store-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #A066AA 0%, #b57abf 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.store-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.store-cta:hover::before {
    width: 300px;
    height: 300px;
}

.store-cta:hover {
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    color: white;
}

.store-cta i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.store-cta span {
    position: relative;
    z-index: 1;
}

.store-cta:hover i {
    transform: translateX(4px);
}

/* Responsividade */
@media (max-width: 992px) {
    .stores-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .stores-section-new {
        padding: 3rem 0;
    }

    .stores-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .store-image {
        height: 180px;
    }

    .store-name {
        font-size: 1.2rem;
    }
}

/* ========== CARROSSEL DE LOJAS EM DESTAQUE (IMPORTED) ========== */
.featured-stores-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    position: relative;
    overflow: hidden;
}

.featured-store-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
    height: 480px;
    /* Reduced from 700px */
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 8px 16px rgba(160, 102, 170, 0.1);
}

.featured-store-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    display: flex;
    background: white;
    border-radius: 24px;
    overflow: hidden;
}

.featured-store-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Coluna Esquerda - Loja */
.store-showcase-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(160, 102, 170, 0.05) 0%, rgba(160, 102, 170, 0.02) 100%);
    position: relative;
}

.store-showcase-image {
    width: 100%;
    height: 100%;
    /* Full height */
    position: absolute;
    /* Absolute positioning */
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.store-showcase-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #F29BB5 0%, rgba(160, 102, 170, 0.8) 60%, rgba(160, 102, 170, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.store-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-store-slide:hover .store-showcase-image img {
    transform: scale(1.08);
}

.store-badge-premium {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #A066AA;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(160, 102, 170, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.store-showcase-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align bottom */
    position: relative;
    z-index: 10;
    height: 100%;
    color: white;
}

.store-showcase-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.store-showcase-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.store-showcase-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.store-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.store-stat-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
}

.store-stat-item i {
    font-size: 1.5rem;
    color: white;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #A066AA;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(160, 102, 170, 0.3);
}

.store-stat-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.store-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.2rem;
}

.store-showcase-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: #A066AA;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 6px 16px rgba(160, 102, 170, 0.25);
    margin-top: 1rem;
}

.store-showcase-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(160, 102, 170, 0.4);
    color: white;
}

.store-showcase-btn i {
    font-size: 1.2rem;
}

/* Coluna Direita - Produtos */
.store-showcase-right {
    width: 60%;
    background: white;
    padding: 2rem;
    overflow-y: auto;
}

.store-showcase-right::-webkit-scrollbar {
    width: 8px;
}

.store-showcase-right::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 10px;
}

.store-showcase-right::-webkit-scrollbar-thumb {
    background: #A066AA;
    border-radius: 10px;
}

.store-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.store-mini-product {
    display: flex;
    gap: 1.2rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.store-mini-product:hover {
    transform: translateX(8px);
    border-color: rgba(160, 102, 170, 0.3);
    box-shadow: 0 8px 24px rgba(160, 102, 170, 0.15);
}

.store-mini-product img {
    width: 80px;
    /* Reduced from 140px */
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.store-mini-product:hover img {
    transform: scale(1.1);
}

.store-mini-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1rem 1rem 0;
}

.store-mini-product-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.store-mini-product-price {
    font-size: 1.1rem;
    /* Reduced from 1.5rem */
    font-weight: 700;
    background: linear-gradient(135deg, #A066AA 0%, #b57abf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Controles de Navegação */
.featured-store-controls {
    position: absolute;
    bottom: -1.2rem;
    /* Adjusted */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Reduced gap */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.6rem 2rem;
    /* Reduced padding */
    border-radius: 60px;
    box-shadow: 0 4px 16px rgba(160, 102, 170, 0.15);
    border: 1px solid rgba(160, 102, 170, 0.12);
}

.featured-store-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(160, 102, 170, 0.1);
    border: 2px solid rgba(160, 102, 170, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A066AA;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-store-nav-btn:hover {
    background: #A066AA;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(160, 102, 170, 0.4);
}

.featured-store-nav-btn:active {
    transform: scale(1.05);
}

.featured-store-dots {
    display: flex;
    gap: 0.8rem;
}

.featured-store-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(160, 102, 170, 0.3);
    border: 2px solid rgba(160, 102, 170, 0.5);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-store-dot:hover {
    background: rgba(160, 102, 170, 0.6);
    transform: scale(1.3);
}

.featured-store-dot.active {
    width: 36px;
    border-radius: 6px;
    background: #A066AA;
    box-shadow: 0 4px 12px rgba(160, 102, 170, 0.5);
}

@media (max-width: 768px) {
    .featured-store-carousel {
        height: auto !important;
        min-height: 0;
        margin-bottom: 6rem;
        overflow: visible;
    }

    .featured-store-slide.active {
        position: relative !important;
    }

    .featured-store-slide {
        flex-direction: column;
        height: auto !important;
        max-height: fit-content;
        min-height: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    .store-showcase-left,
    .store-showcase-right {
        width: 100%;
    }

    .store-showcase-left {
        order: 1;
        height: auto;
    }

    .store-showcase-right {
        order: 2;
        height: 420px;
        max-height: 420px;
        padding: 1rem;
        overflow-y: auto;
    }

    .store-showcase-image {
        height: 280px;
    }

    .store-showcase-content {
        padding: 1.5rem;
    }

    .store-showcase-btn {
        margin-bottom: 1rem;
    }

    .store-showcase-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .store-stat-item {
        padding: 0.7rem 0.4rem;
    }

    .store-stat-item i {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .store-stat-value {
        font-size: 1.1rem;
    }

    .store-stat-label {
        font-size: 0.7rem;
    }

    .store-mini-product {
        margin-bottom: 1rem;
    }

    .store-mini-product img {
        width: 120px;
        height: 120px;
    }

    .store-mini-product-info h4 {
        font-size: 1rem;
    }

    .store-mini-product-price {
        font-size: 1.3rem;
    }

    .featured-store-controls {
        position: absolute;
        bottom: -5rem;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0.8rem 1.5rem;
        gap: 1.5rem;
    }

    .featured-store-nav-btn {
        width: 38px;
        height: 38px;
    }
}