/* ========================================== */
/* LOJA - CSS LIMPO E PADRONIZADO */
/* ========================================== */

.store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ========================================== */
/* HERO SECTION */
/* ========================================== */

.store-hero {
    background: linear-gradient(135deg, #39D17D, #FF7A2E);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.store-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.store-hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-title i {
    margin-right: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
}

.stat.highlight {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
}

/* ========================================== */
/* SECTION HEADER */
/* ========================================== */

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--header-text-color);
    margin-bottom: 0.5rem;
}

.section-header h2 i {
    color: var(--header-active-color);
    margin-right: 0.5rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.results-count {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* ========================================== */
/* FEATURED CAROUSEL */
/* ========================================== */

.featured-section {
    margin-bottom: 4rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.featured-carousel {
    position: relative;
    padding: 0 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

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

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

@media (max-width: 768px) {
    .featured-section {
        padding: 2rem 1rem;
    }
    
    .featured-carousel {
        padding: 0 1rem;
    }
    
    .carousel-nav {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* ========================================== */
/* SERVICES GRID */
/* ========================================== */

.all-services {
    margin-top: 4rem;
    margin-bottom: 3rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.all-services .section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.all-services .section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.all-services .section-header h2 i {
    color: #39D17D;
    margin-right: 0.5rem;
}

.all-services .results-count {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    box-sizing: border-box;
    /* Configurável via CMS - padrão configurado inline */
}

/* Mobile (padrão: 1 coluna) */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tablet (padrão: 2 colunas) */
@media (min-width: 768px) and (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Desktop (padrão: 4 colunas) */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* ========================================== */
/* SERVICE CARD */
/* ========================================== */

.service-card {
    background: var(--card-bg, #2A2F36);
    border: 1px solid var(--border-color, #3A4047);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color, #39D17D);
}

.service-card.featured {
    min-width: 250px;
    width: 250px;
}

.card-image {
    position: relative;
    height: 10rem;
    overflow: hidden;
    background: #1a1a2e;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

.badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #FF7A2E, #B1131B);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.featured-badge {
    background: linear-gradient(135deg, #FF7A2E, #B1131B);
}

.card-content {
    padding: 1rem;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.category {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color, #39D17D);
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.card-actions .btn {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background: #2A2F36;
    border: 1px solid #3A4047;
    color: white;
}

.btn-secondary:hover {
    background: #3A4047;
    border-color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(135deg, #FF7A2E, #B1131B);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B1131B, #FF7A2E);
    transform: scale(1.05);
}

.btn-view, .btn-cart, .btn-buy {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-view:hover, .btn-cart:hover, .btn-buy:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================== */
/* PAGINATION */
/* ========================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: var(--card-bg);
    color: white;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link.active {
    background: linear-gradient(135deg, #FF7A2E, #B1131B);
    border-color: transparent;
}

.page-ellipsis {
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================== */
/* NO RESULTS */
/* ========================================== */

.no-results {
    text-align: center;
    padding: 4rem 1rem;
}

.no-results i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* ========================================== */
/* MODAL DE CARRINHO */
/* ========================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, #2A2F36, #1A1F25);
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s;
}

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

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.modal-header h3 i {
    color: var(--primary-color, #39D17D);
    margin-right: 0.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
}

.modal-footer .btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.modal-footer .btn i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

