* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #febd59 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-bottom: 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    & img{
        width: 5rem;
    }
}

.cart-btn {
    background: linear-gradient(45deg, #ff6b6b, #febd59);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: transform 0.3s ease;
}

.cart-btn:hover {
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Filters */
.filters {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #febd59;
    color: #febd59;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #febd59;
    color: white;
    transform: translateY(-2px);
}

/* Products Grid */
.products {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    background-position: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-theme {
    color: #febd59;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    background: linear-gradient(45deg, #ff6b6b, #febd59);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cart Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    margin-bottom: 0.5rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    background: #febd59;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item {
    background: #ff4757;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-total {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.whatsapp-btn {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-btn:hover {
    background: #128c7e;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        justify-content: center;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #febd59, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



        /* ==== ESTILOS DO COMPONENTE DE PESQUISA ==== */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-icon {
    position: absolute;
    right: 20px;
    color: #667eea;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-icon:hover {
    color: #764ba2;
    transform: scale(1.1);
}

.clear-search {
    position: absolute;
    right: 50px;
    color: #999;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

.clear-search:hover {
    color: #ff4757;
}

.clear-search.show {
    display: block;
}

/* Dropdown de Sugestões */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-section {
    padding: 15px 20px 5px;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-section:last-child {
    border-bottom: none;
}

.suggestion-title {
    font-size: 12px;
    font-weight: bold;
    color: #667eea;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.suggestion-item {
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.suggestion-item:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateX(5px);
}

.suggestion-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Filtros Rápidos */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.quick-filter {
    background: #e9ecef;
    color: #495057;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-filter:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
}

/* Search Results Counter */
.search-results-info {
    padding: 10px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Highlight matched text */
.highlight {
    background: linear-gradient(45deg, #ffeaa7, #fdcb6e);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}


@media (max-width: 768px) {
    .search-container {
        margin: 0 10px;
    }
    
    .search-input {
        padding: 15px 50px 15px 15px;
        font-size: 16px;
    }
    
    .quick-filters {
        padding: 10px 15px;
    }
}



/* Adicione este CSS ao seu arquivo CSS existente */

/* Estilos para quando não há produtos encontrados */
.no-products-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    margin: 2rem 0;
}

.no-products-found i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    color: #febd59;
}

.no-products-found h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.no-products-found p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Melhorias para destacar texto encontrado na pesquisa */
.highlight {
    background: linear-gradient(45deg, #ffeaa7, #fdcb6e);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
    color: #2d3436;
}

/* Animação suave para transições de produtos */
.products-grid {
    transition: all 0.3s ease;
}

.product-card {
    animation: fadeInUp 0.5s ease forwards;
}

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

#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #fdcb6e;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Estilos para a seção de contato */
.contact-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.address-details {
    margin-bottom: 2rem;
}

.address-details i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.address-details p {
    margin: 0.5rem 0;
    color: #666;
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.map-button:hover {
    background-color: #ff5252;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
