/* Header */
.header {
    margin-top: 0;
}

.header-nav {
    display: flex;
    gap: 25px;
    flex-shrink: 0;
}

/* Hero Section */
.hero-section {
    background: var(--primary-color);
    padding: 30px 15px;
    text-align: center;
    color: var(--secondary-light);
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 10px;

}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.hero-subtitle {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Navigation */
.nav {
    background: var(--white);
    padding: 1px 0;
    border-bottom: 1px solid var(--gray-lighter);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 100%;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-primary {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1px;
}

.nav-secondary {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.nav-item {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--accent);
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item.promo {
    color: var(--error-color);
}

/* Main Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--primary-color);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
}

.slide-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--secondary-light);
    padding: 40px;
}

.slide-text {
    text-align: center;
}

.slide-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.slide-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.discount-badge-large {
    background: var(--accent);
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: var(--border-radius-xl);
    font-size: 2em;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

/* Carousel Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}



/* Novidades Section */
.novidades-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.section-description {
    font-size: 1.1em;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*==========================
    PRODUCTS GRID (DESTAQUE)
============================*/
/*==========================
    PRODUCTS GRID - ESTILO CURIOSIDADES
============================*/
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.product-card .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card .product-info {
    padding: 25px;
    text-align: center;
}

.product-card .product-category {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-card .product-title {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-card .product-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}


/*==========================
    LOADING & ERROR STATES
============================*/
.loading-products,
.no-products,
.error-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.loading-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-products::before {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-lighter, #e0e0e0);
    border-top-color: var(--primary-color, #5a3825);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-products p {
    font-size: 1.1rem;
    color: var(--text-light, #6b6b6b);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.no-products {
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius-large, 16px);
}

.no-products p {
    font-size: 1.15rem;
    color: var(--text-light, #6b6b6b);
}

.no-products::before {
    content: '🥐';
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
}

.error-products {
    background: rgba(220, 53, 69, 0.05);
    border-radius: var(--border-radius-large, 16px);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.error-products p {
    font-size: 1.1rem;
    color: var(--error-color, #dc3545);
}

.error-products::before {
    content: '⚠️';
    display: block;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Products Carousel */
.carousel-products-container {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.products-carousel {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-track[data-slides="3"] {
    width: calc(100% * 3);
}

.carousel-track .product-card {
    flex: 0 0 calc(100% / 3);
    margin: 0 10px;
    box-sizing: border-box;
    min-width: 280px;
}

/* Carousel Navigation Buttons */
.carousel-products-container .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-products-container .carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.carousel-products-container .carousel-btn.prev {
    left: -25px;
}

.carousel-products-container .carousel-btn.next {
    right: -25px;
}



/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--secondary-light);
    margin-top: 60px;
}

.newsletter-section {
    background: #7A5A4A;
    padding: 30px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl);
    font-size: 16px;
    outline: none;
}

.newsletter-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--secondary-light);
}

.footer-main {
    padding: 40px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 400px;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    font-family: 'Arial', sans-serif;
    font-size: 1.8em;  /* Diminuí de 2.5em */
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}


.footer-section h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--secondary-light);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-text {
    font-size: 14px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--gray-dark);
    font-style: italic;
    margin-top: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--secondary-light);
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}



.map-container {
    height: 100%;
    min-height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.footer-map {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 300px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    text-align: center;
}

.footer-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-link {
    color: var(--secondary-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
}

