/* ===== RESET E CONFIGURAÇÕES BÁSICAS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    /* Usando a variável para consistência */
    background-color: var(--background-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== VARIÁVEIS CSS ===== */
:root {
    --primary-color: #2C5F2D;
    --secondary-color: #97BC62;
    --accent-color: #ffffff;
    /* Cor de destaque (branco) */
    --special-price-color: #28a745;
    /* Novo: cor para preços */
    --text-color: #2F3E46;
    --text-light: #6B7280;
    --background-color: #FFFFFF;
    --background-light: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* ===== UTILITÁRIOS ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #2C5F2D, #00ff1ef7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar {
    height: 100%;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: none;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #2C5F2D, #00ff1ef7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-light) 0%, #E8F5E8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2397BC62" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #2C5F2D, #00ff1ef7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ===== FEATURED PRODUCTS ===== */
.featured-products {
    padding: 5rem 0;
    background: var(--background-color);
}

.owl-carousel .owl-item {
    padding: 0 15px;
}

.featured-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    /* Necessário para o badge */
    height: auto;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

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

.featured-card-content {
    padding: 1.5rem;
}

.featured-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.featured-card-category {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.featured-card-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.featured-card-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--special-price-color);
    /* Corrigido: Usando cor de preço */
    margin-bottom: 1rem;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 5rem 0;
    background: var(--background-light);
}

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

.filter-btn {
    padding: 12px 24px;
    border-radius: 25px;
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

/* ===== PRODUCT CARD REDESIGN ===== */
.product-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.badge-best-seller {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(90deg, #FF512F 0%, #F09819 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(240, 152, 25, 0.4);
    z-index: 10;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.product-card.hidden {
    display: none;
    /* Changed from opacity to display:none for layout flow */
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #9cc069;
}

.product-image-wrapper {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: white;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.product-image {
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.5s ease;
}



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

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.25rem;
    gap: 0.5rem;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e5e2f;
    margin-bottom: 5px;
    line-height: 1.3;
    /* Forçar altura de 2 linhas para alinhar descrições na mesma régua */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
}

.product-category {
    background-color: #9cc069;
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Limitar descrição para evitar discrepâncias enormes */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
}

.product-price-tag {
    background-color: #e0f5e0;
    color: #1e5e2f;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-price-tag small {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

.btn-view-more {
    background-color: transparent;
    border: 1.5px solid #1e5e2f;
    color: #1e5e2f;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-view-more:hover {
    background-color: #1e5e2f;
    color: white;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    padding: 50px;
    padding-left: 10px;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 120%;
    height: auto;
    border-radius: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 3rem 3rem;
}

.footer-section {
    margin-right: 0;
    margin-left: -20px;
    gap: 10rem;
}

#footer-section {
    margin-left: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
    text-align: center;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-text {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    opacity: 0.9;
}

#footer-text {
    white-space: nowrap;
}

.footer-text i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    opacity: 0.9;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(151, 188, 98, 0.4);
    border-color: var(--secondary-color);
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Cores específicas para cada rede social no hover */
.social-link:hover .fa-facebook-f {
    color: #1877f2;
}

.social-link:hover .fa-instagram {
    color: #e4405f;
}

.social-link:hover .fa-whatsapp {
    color: #25d366;
}

.social-link:hover .fa-linkedin-in {
    color: #0077b5;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.modal-info {
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-category {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.modal-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-specs {
    margin-bottom: 1.5rem;
}

.modal-specs h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-specs ul {
    list-style: none;
}

.modal-specs li {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.modal-specs li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.modal-price {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--special-price-color);
    /* Corrigido: Usando cor de preço */
    margin-bottom: 1.5rem;
}

.modal-cta {
    margin-top: auto;
}

/* ===== RESPONSIVIDADE ===== */
/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image img {
        height: 250px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-text {
        justify-content: center;
    }

    /*------FOOTER PERSONALIZADO ----*/

    .footer {
        padding: 2rem 1.5rem;
    }

    .footer-section {
        margin-left: 0;
        gap: 3rem;
    }

    #footer-section {
        margin-left: 0;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        text-align: left;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer-text {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    #footer-text {
        white-space: normal;
    }

    .footer-links {
        gap: 0.4rem;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin: 0 5px;
    }

    .copyright {
        font-size: 0.8rem;
        margin-top: 1rem;
    }

    /* --------------- */

    .social-icons {
        justify-content: center;
    }

    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }

    .modal-body {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .about-content {
        padding-left: 20px;
        padding-right: 20px;
        margin-left: 0;
    }

    .about-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-image {
        text-align: center;
        margin-top: 20px;
        margin-right: 0;
        max-width: 100%;
    }

    .about-image img {
        width: 97%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .product-content,
    .featured-card-content {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

/* ===== ANIMAÇÕES E EFEITOS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== ESTILOS PARA PRODUTOS MAIS VENDIDOS ===== */
.product-card.best-seller {
    position: relative;
    border: 3px solid #ff4757;
    /* Corrigido: Usando uma cor vibrante para o destaque */
    box-shadow: 0 8px 25px rgba(244, 97, 97, 0.2);
    transform: translateY(-2px);
}

.product-card.best-seller::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff4757, var(--secondary-color), #ff4757);
    /* Corrigido: Usando cor vibrante */
    border-radius: var(--border-radius);
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.best-seller-badge {
    display: block;
    /*Esconde o selo de "Mais Vendido"*/
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff4757, #ff9f43);
    /* Corrigido: Cores de destaque */
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(244, 97, 97, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(244, 97, 97, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(244, 97, 97, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(244, 97, 97, 0.4);
    }
}

.product-card.best-seller:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(244, 97, 97, 0.3);
}

.product-card.best-seller .product-title {
    color: #ff4757;
    /* Corrigido: Usando a cor de destaque */
    font-weight: 700;
}

.product-card.best-seller .product-price {
    color: #ff4757;
    /* Corrigido: Usando a cor de destaque */
    text-shadow: 0 2px 4px rgba(244, 97, 97, 0.2);
}

.featured-card.best-seller {
    border: 3px solid #ff4757;
    /* Corrigido: Usando a cor de destaque */
    box-shadow: 0 10px 30px rgba(244, 97, 97, 0.25);
}

.featured-card.best-seller::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff4757, var(--secondary-color));
    /* Corrigido: Usando a cor de destaque */
    border-radius: var(--border-radius);
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.modern-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--special-price-color);
    background-color: #e6ffe6;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modern-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
}



/* ===== REDES SOCIAIS ===== */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    margin-left: -70px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none !important;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(151, 188, 98, 0.4);
    border-color: var(--secondary-color);
}

.social-link:active {
    transform: translateY(-1px);
}

/* Cores específicas para cada rede social no hover */
.social-link:hover .fa-facebook-f {
    color: #1877f2;
}

.social-link:hover .fa-instagram {
    color: #e4405f;
}

.social-link:hover .fa-whatsapp {
    color: #25d366;
}

.social-link:hover .fa-linkedin-in {
    color: #0077b5;
}

/* Responsividade para redes sociais */
@media (max-width: 768px) {
    .social-icons {
        gap: 12px;
        margin-top: 20px;
        margin-left: -10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

}

@media (max-width: 768px) {

    /* --- Footer --- */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin: 0 auto;
        gap: 2rem;
        /* Mantém o espaçamento consistente entre as seções */
    }

    /* Aplica estilos gerais de centralização a todas as seções */
    .footer-section {
        text-align: center;
        margin-right: 0;
        /* Remove a margem fixa para evitar problemas em mobile */
    }

    /* Centraliza o conteúdo de texto e ícones */
    .footer-title,
    .footer-text {
        justify-content: center;
        margin: 0 auto;
        /* Removido o 'white-space: nowrap' para evitar quebra de layout */
    }

    /* Ajusta os ícones sociais para o layout centralizado */
    .social-icons {
        justify-content: center;
        margin-right: 0;
        /* Remove a margem fixa */
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 10px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

}


/* ===== ÍCONES DE CONTATO NO FOOTER ===== */
.footer-text i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
}

.footer-text {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* Melhorias gerais no footer */
.footer-section {
    margin-bottom: 2rem;
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-text {
        justify-content: center;
    }
}