/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #4A4A4A;
    background-color: #FAF7F2;
}

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

/* Cores Personalizadas */
:root {
    --velvet-beige: #F5E6D3;
    --velvet-rose: #E8C5C5;
    --velvet-brown: #D4B896;
    --velvet-cream: #FAF7F2;
    --velvet-gold: #D4AF37; /* Cor principal de destaque */
    --velvet-lavender: #C8A2C8;
    --velvet-sage: #9CAF88;
    --text-primary: #4A4A4A;
    --text-secondary: #6B6B6B;
}

/* Utilitários */
.icon {
    width: 16px;
    height: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    justify-content: center; /* Centraliza o conteúdo do botão */
}

.btn-primary {
    background: linear-gradient(135deg, var(--velvet-gold) 0%, #B8941F 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8941F 0%, var(--velvet-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--velvet-gold);
    border: 2px solid var(--velvet-gold);
}

.btn-secondary:hover {
    background: var(--velvet-gold);
    color: white;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--velvet-cream);
    border-bottom: 1px solid var(--velvet-beige);
    box-shadow: 0 2px 10px rgba(212, 184, 150, 0.1);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--velvet-beige);
    font-size: 14px;
    color: var(--velvet-brown);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.top-bar-item:hover {
    color: var(--velvet-gold);
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--velvet-brown) 0%, var(--velvet-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--velvet-brown);
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--velvet-brown);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--velvet-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-container {
    position: relative;
}

.search-input {
    width: 250px;
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--velvet-beige);
    border-radius: 8px;
    background: white;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: var(--velvet-gold);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--velvet-brown);
}

.cart-button {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--velvet-gold);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--velvet-brown);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none; /* Controlled by JS */
    background: var(--velvet-cream);
    border-top: 1px solid var(--velvet-beige);
    padding: 20px; /* Add padding for better spacing */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Subtle shadow */
    position: absolute; /* Ensures it stays within header flow */
    width: 100%; /* Full width */
    left: 0;
}

.mobile-search {
    position: relative;
    margin-bottom: 20px; /* More space below search */
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    color: var(--velvet-brown);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0; /* Increased padding */
    border-bottom: 1px solid var(--velvet-beige);
    transition: color 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none; /* No border for the last item */
}

.mobile-nav-link:hover {
    color: var(--velvet-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--velvet-cream) 0%, var(--velvet-beige) 50%, var(--velvet-rose) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(232, 197, 197, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 230, 211, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--velvet-brown) 0%, var(--velvet-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--velvet-brown);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex; /* Use flex to center image if it's smaller */
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 400px; /* Constrain max width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(212, 184, 150, 0.2);
    animation: float 6s ease-in-out infinite;
    object-fit: cover; /* Ensures image fills container without distortion */
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Features */
.features {
    background: var(--velvet-beige);
    padding: 64px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--velvet-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--velvet-brown);
    margin-bottom: 8px;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Products and Category Sections */
.products {
    padding: 80px 0;
}

.category-section {
    padding: 60px 0; /* Slightly less padding than main products section */
    background-color: var(--velvet-cream); /* Differentiate background slightly */
    border-top: 1px solid var(--velvet-beige); /* Add a subtle separator */
}

.category-section:nth-of-type(odd) { /* Alternate background for better visual separation */
    background-color: var(--velvet-beige);
}


.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--velvet-brown) 0%, var(--velvet-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 20px;
    color: var(--velvet-brown);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.product-card {
    background: rgba(250, 247, 242, 0.8);
    backdrop-filter: blur(10px); /* Keep this if it makes sense with image background */
    border: 1px solid rgba(245, 230, 211, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Lighter initial shadow */
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 184, 150, 0.25);
}

.product-image-container {
    position: relative;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Add shadow to button */
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    background: var(--velvet-rose); /* Highlight active favorite */
}

.favorite-btn.active .heart-icon {
    fill: #ef4444;
    color: #ef4444;
}

.heart-icon {
    width: 18px; /* Slightly larger icon */
    height: 18px;
    color: #6B6B6B; /* Default color for unfavorited */
    transition: all 0.3s ease;
}


.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--velvet-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.product-content {
    padding: 24px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 16px; /* Slightly larger stars */
}

.star.filled {
    color: var(--velvet-gold);
}

.rating-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--velvet-brown);
    margin-bottom: 8px;
}

.product-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    height: 40px; /* Fixed height for consistent card size */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis if text overflows */
}

.product-price {
    display: flex;
    align-items: baseline; /* Align prices to baseline for better visual flow */
    gap: 12px;
    margin-bottom: 16px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--velvet-gold);
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
    justify-content: center;
}

.section-footer {
    text-align: center;
    margin-top: 40px; /* Space above footer buttons */
}

/* About */
.about {
    background: var(--velvet-rose);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-description {
    font-size: 18px;
    color: var(--velvet-brown);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.value-item {
    margin-bottom: 16px;
}

.value-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--velvet-brown);
    margin-bottom: 8px;
}

.value-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(212, 184, 150, 0.15);
    object-fit: cover; /* Ensures images fill their space */
    height: 250px; /* Fixed height for visual consistency */
}

.about-image-offset {
    margin-top: 32px;
}

/* Newsletter */
.newsletter {
    background: var(--velvet-beige);
    padding: 64px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 32px auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--velvet-brown);
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--velvet-gold);
}

.newsletter-disclaimer {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--velvet-cream);
    border-top: 1px solid var(--velvet-beige);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-title {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--velvet-brown) 0%, var(--velvet-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-subtitle {
    font-size: 12px;
    color: var(--velvet-brown);
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--velvet-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--velvet-brown);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--velvet-gold);
}

.contact-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--velvet-beige);
    padding-top: 24px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Notification System */
.notification {
    /* Styles are mostly inline in JS, but could be here */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .search-container {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }

    .hero-image {
        order: -1; /* Move image above text on smaller screens */
        margin-bottom: 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1; /* Move images above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-offset {
        margin-top: 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center; /* Center social links on mobile footer */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .logo-section .logo-image {
        width: 40px;
        height: 40px;
    }

    .logo-section .logo-title {
        font-size: 20px;
    }

    .logo-section .logo-subtitle {
        font-size: 10px;
    }

    .main-header {
        padding: 12px 0;
    }
}

/* Animações */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards; /* Added forwards to keep the end state */
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards; /* Added forwards */
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards; /* Added forwards */
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--velvet-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--velvet-rose);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--velvet-brown);
}

/* Adicione isso ao seu arquivo style.css */

.static-page-content {
    padding: 80px 0; /* Espaçamento superior e inferior */
    background-color: var(--velvet-cream); /* Fundo consistente */
    color: var(--text-primary);
}

.static-page-content h2 {
    margin-bottom: 30px;
    text-align: center;
}

.static-page-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--velvet-brown);
    margin-top: 40px;
    margin-bottom: 20px;
}

.static-page-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.static-page-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.static-page-content ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-secondary);
}

.static-page-content a {
    color: var(--velvet-gold);
    text-decoration: underline;
}

.static-page-content a:hover {
    color: var(--velvet-brown);
}