/* Imagens dos produtos em destaque - tamanho padronizado */
.featured-products .product-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    background: #f5f5f5;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;700&display=swap');


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


:root {
    --roxo-escuro: #4B0082;      
    --roxo-medio: #8A2BE2;   
    --roxo-claro: #9370DB;     
    --roxo-palido: #E6E6FA;      
    --black: #121212;            
    --white: #FFFFFF;           
    --cinza-claro: #F5F5F5;       
    --cinza-medio: #E0E0E0;      
    --cinza-escuro: #757575;        
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.btn-primary {
    display: inline-block;
    background-color: var(--roxo-escuro);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--roxo-medio);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.3);
    cursor: pointer;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--roxo-escuro);
    padding: 10px 24px;
    border: 2px solid var(--roxo-escuro);
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--roxo-escuro);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.2);
    cursor: pointer;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    color: var(--roxo-escuro);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--roxo-medio);
    margin: 15px auto 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    text-align: center;
}

.logo-container h1 {
    font-size: 2.5rem;
    color: var(--roxo-escuro);
    letter-spacing: 3px;
    margin-bottom: 0;
    cursor: pointer;
}

.logo-container h1:hover {
    color: var(--roxo-claro);
    transition: 1s;
}

.tagline {
    font-size: 0.9rem;
    color: var(--cinza-escuro);
    font-style: italic;
    margin-top: -5px;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: var(--black);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--roxo-medio);
    transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu a.active {
    color: var(--roxo-escuro);
}

.icons {
    display: flex;
    gap: 20px;
}

.icon {
    font-size: 1.2rem;
    color: var(--black);
    position: relative;
}

.icon:hover {
    color: var(--roxo-medio);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--roxo-escuro);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    gap: 5px;
    word-break: break-word;
        }

.login-btn {
    background: #7e57c2;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
        }
        
.logout-btn:hover {
        background-color: #c0392b;
        }

/* * Hero  */
.hero {
    height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('img/banner-outono.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-content h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* * Categorias Section */
.categories {
    padding: 80px 5%;
    background-color: var(--white);
}

.category-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.category {
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--cinza-claro);
    
}

.category:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(75, 0, 130, 0.15);
}

.category img {
    aspect-ratio: 7 / 10;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category:hover img {
    transform: scale(1.05);
}

.category h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--roxo-escuro);
}


.featured-products {
    padding: 80px 5%;
    background-color: var(--roxo-palido);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(75, 0, 130, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background-color: rgba(75, 0, 130, 0.8);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: bottom 0.3s ease;
}

.product-card:hover .product-overlay {
    bottom: 0;
}

.overlay-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--roxo-escuro);
    transition: all 0.3s ease;
}

.overlay-icon:hover {
    background-color: var(--roxo-escuro);
    color: var(--white);
    transform: translateY(-5px);
}

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 30px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.tag.new {
    background-color: var(--roxo-escuro);
}

.tag.sale {
    background-color: #e53935; /* * Vermelho para destaque */
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--black);
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--roxo-escuro);
}

.product-category {
    color: var(--cinza-escuro);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--roxo-escuro);
}

.old-price {
    text-decoration: line-through;
    color: var(--cinza-escuro);
    font-weight: 400;
    margin-right: 8px;
    font-size: 0.9rem;
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

/* * Promotion Banner */
.promotion-banner {
    padding: 80px 5%;
    background: linear-gradient(rgba(75, 0, 130, 0.8), rgba(75, 0, 130, 0.9)), url('/api/placeholder/1920/500');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.promotion-content {
    max-width: 800px;
    margin: 0 auto;
}

.promotion-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.promotion-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.promo-code {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.promo-code span {
    background-color: var(--white);
    color: var(--roxo-escuro);
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 700;
    margin-left: 10px;
}

/* *Newsletter Section */
.newsletter {
    padding: 80px 5%;
    background-color: var(--white);
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--roxo-escuro);
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--cinza-escuro);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--cinza-medio);
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form button {
    background-color: var(--roxo-escuro);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
}

.newsletter-form input:focus {
    border-color: var(--roxo-medio);
}

/* *Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--roxo-medio);
}

.footer-column p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--cinza-medio);
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--roxo-medio);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--cinza-medio);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--cinza-medio);
    font-size: 0.9rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--roxo-claro);
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.payment-methods i {
    font-size: 1.8rem;
    color: var(--cinza-medio);
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cinza-medio);
    font-size: 0.9rem;
}

/* *Responsividade */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    header {
        flex-direction: column;
        padding: 0px 5%;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .menu {
        margin: 15px 0;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content h3 {
        font-size: 1.6rem;
    }
    
    .category-container {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h3 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .promotion-content h2 {
        font-size: 2.2rem;
    }
    
    .promotion-content p {
        font-size: 1.2rem;
    }
}