/* Logo y eslogan debajo, centrados */
/* Header estilo imagen adjunta */
.logo-eslogan-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.2em;
    width: auto;
    margin-left: 1.5em;
    margin-top: 0.5em;
}
.logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 0.2em;
}
.eslogan-header {
    font-family: 'Calibri', 'Segoe UI', Arial, sans-serif !important;
    color: #1e7d4a !important;
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    margin-left: 0.2em;
    margin-top: 0;
    text-align: left;
    font-style: normal;
}
.eslogan-diferencia {
    font-weight: 900;
    text-decoration: underline;
    color: #1e7d4a;
    font-style: normal;
}
@media (max-width: 900px) {
    .logo-eslogan-flex .eslogan-header {
        font-size: 1.1rem;
    }
}
/* HEADER Y NAVEGACIÓN RESPONSIVE GLOBAL IGUAL QUE AVENE */
@media (max-width: 900px) {
    .header-container, .top-bar-container, .nav-container, .footer-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0.7rem 1rem !important;
        max-width: 100vw !important;
    }
    .main-header {
        padding: 0.5em 0 !important;
    }
    .logo img {
        height: 50px !important;
        max-width: 120px !important;
        padding: 0.1em 0.4em !important;
    }
    .eslogan-banner-flex {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    .banner-principal-img {
        width: 95vw !important;
        max-width: 98vw !important;
        max-height: 60px !important;
        height: auto !important;
    }
    .main-nav {
        flex-direction: column !important;
        gap: 0.7rem !important;
        width: 100% !important;
        margin-left: 0 !important;
        align-items: flex-start !important;
    }
    .main-nav > li {
        width: 100% !important;
    }
    .main-nav > li > a {
        width: 100% !important;
        text-align: left !important;
        font-size: 1.1rem !important;
        padding: 0.7em 1em !important;
        box-sizing: border-box !important;
        display: block !important;
        margin: 0 !important;
    }
    .mobile-menu-btn {
        display: block !important;
        align-self: flex-start !important;
        margin-bottom: 1rem !important;
    }
}
@media (max-width: 600px) {
    .header-container, .top-bar-container, .nav-container, .footer-container {
        padding: 0.5rem 0.3rem !important;
    }
    .logo img {
        height: 36px !important;
        max-width: 80px !important;
    }
    .banner-principal-img {
        height: 40px !important;
        max-width: 90vw !important;
    }
}
body.ducray .header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    min-height: 110px;
    gap: 0 !important;
}
body.ducray .logo {
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
body.ducray .eslogan-banner-flex {
    display: flex !important;
    align-items: center !important;
    gap: 1.2rem !important;
    justify-content: flex-start !important;
    margin-left: 2rem !important;
}
/* =========================
   VARIABLES Y RESET
========================= */
:root {
    --primary-color: #205f34;
    --primary-dark: #1a4f2a;
    --primary-light: #3ad29f;
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
/* Alineación simétrica de los botones "Ver detalle" en cards de producto */
.product-card .btn {
    display: inline-block;
    min-width: 120px;
    margin-top: auto;
    text-align: center;
    border-radius: 8px;
}
    --avene-salmon: #ff7f32;
    --avene-salmon-light: #ff9a56;
    
    /* Ducray Colors */
    --ducray-blue: #0074b8;
    --ducray-blue-light: #4fc3f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--gray-light);
    color: var(--dark-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* =========================
   HEADER Y NAVEGACIÓN
========================= */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 12px rgba(32,95,52,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0; /* Remove bottom margin to eliminate separation */
}
.sticky-header.hidden {
    transform: translateY(-100%);
}

.top-bar {
    background: #2ca77c;
    font-size: 0.92rem;
    color: #1e7d4a;
    padding: 0.13rem 0;
    min-height: 32px;
    transition: var(--transition);
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.05em 1.2em;
}
.contact-info a, .user-actions a {
    color: #1e7d4a;
    margin-right: 0.7rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.15em 0.7em;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}
.contact-info a:last-child, .user-actions a:last-child {
    margin-right: 0;
}
.contact-info a:hover, .user-actions a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    transition: var(--transition);
}
.logo img {
    height: 48px;
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.05) rotate(-2deg);
}
.eslogan-header {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 1.15rem;
    color: #DAA520;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 1px;
    margin: 0 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.eslogan-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.4s ease;
}
.eslogan-header:hover::after {
    width: 100%;
}
/* Cart UI removed (Option A) - styles cleaned */

/* Navegación principal */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: auto; /* Move menu to the right */
}
.main-nav > li {
    position: relative;
}
.main-nav > li > a {
    color: #0a9443; /* Verde principal de la página */
    font-weight: 700;
    font-size: 1.07rem;
    padding: 0.7em 1.2em;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(180deg, #eaf5f1 80%, #2ca77c 100%);
    box-shadow: 0 2px 0 #2ca77c; /* Línea verde inferior */
    border: 1px solid #2ca77c;
    min-width: 120px;
    text-align: center;
    margin: 0 0.2em;
}
.main-nav > li > a:hover,
.main-nav > li > a.active {
    background: linear-gradient(180deg, #2ca77c 80%, #0a9443 100%);
    color: #fff;
    box-shadow: 0 4px 0 #0a9443;
}
.has-dropdown > .dropdown-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(32,95,52,0.15);
    border-radius: 8px;
    margin-top: 0.5em;
    min-width: 220px;
    z-index: 200;
    left: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.has-submenu > .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(32,95,52,0.15);
    border-radius: 8px;
    min-width: 180px;
    margin-left: 0.2em;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    display: block;
    opacity: 1;
    transform: translateX(0);
}
.dropdown-menu a, .submenu a {
    color: #1e7d4a;
    font-weight: 600;
    padding: 0.7em 1em;
    display: block;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}
.dropdown-menu a:hover, .submenu a:hover {
    background: #e0f7ef;
    color: var(--primary-dark);
    padding-left: 1.5em;
    transform: translateX(5px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5em;
    cursor: pointer;
    order: -1; /* Show mobile button on the left */
}

/* =========================
   HERO SECTION
========================= */
.hero {
    background: linear-gradient(120deg, #e0f7ef 60%, #fff 100%);
    min-height: 600px;
    position: relative;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 24px rgba(32,95,52,0.09);
    margin-bottom: 0;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-content h2 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5em;
    text-shadow: 0 2px 8px rgba(255,255,255,0.8);
    animation: fadeInUp 0.8s ease;
}
.hero-content p {
    font-size: 1.18rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1.2em;
    text-shadow: 0 1px 4px rgba(255,255,255,0.8);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}
.btn {
    background: linear-gradient(90deg, var(--primary-color) 80%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9em 2.2em;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(32,95,52,0.15);
    transition: var(--transition);
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* Align "ver detalles" buttons in Productos destacados */
.products-section .product-card .btn {
    display: block;
    width: 100%;
    text-align: center;
}
.btn:hover, .btn:focus {
    box-shadow: 0 8px 24px rgba(32,95,52,0.25);
    transform: translateY(-4px) scale(1.05);
}

/* =========================
   SECCIONES Y DIVISORES
========================= */
.section-divider {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, var(--primary-color) 60%, var(--primary-light) 100%);
    border: none;
    margin: 0 0 2.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px #1e7d4a22;
    position: relative;
    overflow: hidden;
}
.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.1) 100%);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
section, .about-section, .products-section, .categories, #nosotros-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(32,95,52,0.07);
    margin: 2.5rem auto;
    padding: 2.5rem 2rem;
    max-width: 1200px;
    position: relative;
    transition: var(--transition);
}
section:not(:first-child) {
    margin-top: 3.5rem;
}
.section-title {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.7em;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    transition: var(--transition);
}
.section-title:hover::after {
    width: 120px;
}

/* =========================
   CATEGORÍAS Y PRODUCTOS
========================= */
.categories-container, .products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    justify-content: center;
    margin-top: 2rem;
}
.category-card, .product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    padding: 1.5rem 2rem;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #e0e0e0;
}
.category-card:hover, .product-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transform: translateY(-4px) scale(1.03);
    border-color: #ccc;
}
.category-title, .product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e7d4a;
    margin-bottom: 0.9em;
    transition: color 0.3s ease;
}
.product-title:hover {
    color: var(--primary-color);
}
.product-benefit {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1.2em;
    line-height: 1.4;
}
.category-subbrands {
    display: flex;
    gap: 0.7em;
    flex-wrap: wrap;
}
.subbrand-link {
    background: #e0f7ef;
    color: #207d4a;
    border-radius: 6px;
    padding: 0.3em 0.8em;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.3em;
    transition: background 0.2s, color 0.2s;
}
.subbrand-link:hover {
    background: #1e7d4a;
    color: #fff;
}

/* Centrar títulos y textos en las secciones de categorías y productos */
.categories-section .section-title,
.products-section .section-title {
    text-align: center;
}

.categories-section .products-container,
.products-section .products-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.featured-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.featured-product .product-title,
.featured-product .product-description {
    text-align: center;
    width: 100%;
}

/* Botón alineado simétricamente */
.featured-product .btn {
    margin-top: auto;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

/* =========================
   SECCIÓN NOSOTROS (MVV)
========================= */
#nosotros-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(32,95,52,0.07);
    padding: 3.5rem 2rem 2.5rem 2rem;
    margin: 2.5rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}
#nosotros-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}
.about-subtitle {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    font-size: 1.18rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.2em;
    font-weight: 500;
}
.about-highlight {
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.mvv-flex {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.mvv-card {
    background: #f8fcfa;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(32,125,74,0.10);
    padding: 2.2rem 1.5rem 1.7rem 1.5rem;
    flex: 1 1 280px;
    max-width: 340px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    border-bottom: 2px solid #e0f7ef;
    position: relative;
    overflow: hidden;
}
.mvv-icon {
    font-size: 2.7rem;
    margin-bottom: 1.1rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, #e0f7ef 60%, #fff 100%);
    border-radius: 50%;
    padding: 0.7em 0.9em;
    box-shadow: 0 4px 12px #1e7d4a11;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.mvv-mision { color: var(--primary-color); }
.mvv-vision { color: var(--primary-light); }
.mvv-valores { color: var(--primary-dark); }
.mvv-title {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}
.mvv-text {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    font-size: 1.08rem;
    color: #444;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 0;
    transition: var(--transition);
}

/* =========================
   HEADER COLOR SCHEMES
========================= */
/* Medifarm Header */
.medifarm-header .medifarm-top-bar {
    background: var(--primary-color) !important;
}
.medifarm-header .medifarm-main-header {
    background: var(--light-color) !important;
}
.medifarm-header .medifarm-nav {
    background: var(--primary-color) !important;
}
.medifarm-header .contact-info a,
.medifarm-header .user-actions a {
    color: var(--light-color) !important;
}


/* =========================
   FOOTER
========================= */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1rem 2rem;
    border-top: 6px solid var(--primary-color);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(32,95,52,0.07);
    position: relative;
    overflow: hidden;
}

/* Footer Centered Logo */
.footer-logo-center {
    text-align: center;
    padding: 2rem 0 1rem 0;
    border-top: 2px solid var(--gray-medium);
    margin-top: 1.5rem;
}
.footer-center-logo {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
}

/* Cart/user-action UI removed project-wide (Option A) */
.footer-column {
    flex: 1 1 200px;
    min-width: 180px;
    transition: var(--transition);
}
.footer-column h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 1em;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 0.7em;
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}
.footer-column ul li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}
.footer-column ul li a:hover {
    color: var(--primary-dark);
    padding-left: 1em;
}
.social-links a {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-right: 0.7em;
    transition: var(--transition);
    display: inline-block;
}
.social-links a:hover {
    color: var(--primary-light);
    transform: translateY(-5px) scale(1.2);
}
.copyright {
    text-align: center;
    color: var(--primary-color);
    font-size: 0.98rem;
    padding: 1rem 0 1.5rem 0;
    background: #e0f7ef;
    margin-top: 1rem;
    border-radius: 0 0 12px 12px;
    border-top: 2px solid var(--primary-color);
    transition: var(--transition);
}

/* Solo para ducray.html: fuerza el azul corporativo en el footer */
body.ducray .footer-container,
body.ducray .footer-container h3,
body.ducray .footer-container a,
body.ducray .footer-container li,
body.ducray .footer-container .social-links a,
body.ducray .footer-logo-center,
body.ducray .copyright {
    color: var(--ducray-blue) !important;
    border-color: var(--ducray-blue) !important;
}
body.ducray .footer-container {
    border-top: 6px solid var(--ducray-blue) !important;
}
body.ducray .copyright {
    border-top: 2px solid var(--ducray-blue) !important;
}

/* =========================
   IMÁGENES DE PRODUCTOS UNIFORMES
========================= */
.product-card img,
.products-container img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(32,95,52,0.07);
    margin: 0 auto 1rem auto;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card img:hover,
.products-container img:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 24px #1e7d4a22;
    border-color: var(--primary-color);
}

/* Responsive para imágenes de productos */
@media (max-width: 900px) {
    .product-card img,
    .products-container img {
        width: 120px;
        height: 120px;
    }
}
@media (max-width: 600px) {
    .product-card img,
    .products-container img {
        width: 90px;
        height: 90px;
    }
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes shimmer {
    100% { transform: translateX(100%);}
}
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.05);}
    100% { transform: scale(1);}
}

/* Featured Products Styling */
.featured-products {
    justify-content: center;
}
.featured-product {
    max-width: 200px;
    min-width: 180px;
}
.featured-product .product-img {
    width: 120px;
    height: 120px;
}
.featured-product .product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}
.featured-product .product-description {
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Highlighted Products Styling */
.highlighted-products {
    justify-content: center;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1200px) {
    .header-container, .top-bar-container, .nav-container, .footer-container {
        max-width: 100%;
        padding: 0.7rem 1rem;
    }
    section, .about-section, .products-section, .categories, #nosotros-section {
        max-width: 98vw;
    }
}
@media (max-width: 900px) {
    .header-container, .top-bar-container, .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 0.7rem 1rem;
        transition: var(--transition);
        text-align: center;
    }
    .footer-container, .footer-column, .copyright {
        text-align: center !important;
    }
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.7rem 1rem;
    }
    .main-nav {
        flex-direction: column;
        gap: 0.7rem;
        margin-left: 0;
        width: 100%;
    }
    .mobile-menu-btn {
        display: block;
        align-self: flex-start;
        margin-bottom: 1rem;
    }
    .categories-container, .products-container {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .category-card, .product-card {
        width: 90vw;
        max-width: 98vw;
    }
    .footer-container {
        gap: 1.2rem;
    }
    section, .about-section, .products-section, .categories, #nosotros-section {
        padding: 1.2rem 0.5rem;
    }
    .footer-center-logo {
        height: 50px;
    }
}
@media (max-width: 600px) {
    .header-container, .top-bar-container, .nav-container, .footer-container {
        padding: 0.5rem 0.3rem;
    }
    .eslogan-header {
        font-size: 0.98rem;
        margin: 0 0.3rem;
    }
    .category-card, .product-card {
        padding: 1rem 0.7rem;
    }
    .mvv-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .section-divider {
        height: 32px;
    }
    .footer-container {
        padding: 1rem 0.5rem;
    }
    .footer-center-logo {
        height: 40px;
    }
    .featured-product {
        max-width: 160px;
        min-width: 140px;
    }
    .featured-product .product-img {
        width: 100px;
        height: 100px;
    }
}

/* Botón "ver más" refinado y sin superponer texto */
.ver-mas-btn,
.btn-ver-mas {
    display: inline-block;
    margin-top: 1.2em;
    background: linear-gradient(90deg, var(--primary-color) 80%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7em 1.7em;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(32,95,52,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    outline: none;
    position: relative;
    z-index: 1;
    /* Asegura que el botón esté debajo del texto, no encima */
}

.ver-mas-btn:hover,
.btn-ver-mas:hover,
.ver-mas-btn:focus,
.btn-ver-mas:focus {
    background: linear-gradient(90deg, var(--primary-dark) 80%, var(--primary-color) 100%);
    box-shadow: 0 6px 18px #1e7d4a22;
    transform: translateY(-2px) scale(1.04);
}

/* Si usas un contenedor para el texto y el botón, asegúrate de que el texto tenga suficiente espacio inferior */
.product-description,
.card-description,
.descripcion-producto {
    margin-bottom: 1.5em;
    /* Así el botón nunca se superpone al texto */
}

/* Sección Nuestro Equipo */
.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.team-member {
    background: #f8fcfa;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(32,95,52,0.07);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    margin-bottom: 1.2rem;
    text-align: center;
}
.team-role {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5em;
    display: block;
}

/* Sección Aliados */
.aliados-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2em 2.5em;
    justify-content: center;
    margin: 2rem 0 0 0;
    padding: 0;
    list-style: none;
}
.aliados-list li {
    font-weight: 600;
    color: var(--primary-dark);
    /* Elimina el fondo, borde y padding para que no haya cuadro verde detrás de los logos */
    background: none;
    border-radius: 0;
    padding: 0;
    font-size: 1rem;
    margin-bottom: 0.5em;
    box-shadow: none;
}

/* Agrega esto a tu styles.css para mejorar la sección de aliados con imágenes */
.aliados-img-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 0 0;
    padding: 0;
    list-style: none;
}
.aliados-img-list li {
    display: flex;
    align-items: center;
    justify-content: center;
}
.aliado-logo {
    width: 240px;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.2) brightness(0.98);
    transition: filter 0.2s, transform 0.2s;
    /* Quita el fondo, el borde y el padding para que solo se vea el logo */
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.aliado-logo:hover {
    filter: none;
    transform: scale(1.09);
    box-shadow: 0 6px 18px #1e7d4a22;
}

@media (max-width: 700px) {
    .aliados-img-list {
        gap: 1.2rem 1.2rem;
    }
    .aliado-logo {
        width: 150px;
        padding: 0.7rem 1.2rem;
    }
}

/* =========================
   ESLOGAN BANNER
========================= */
.eslogan-banner-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.banner-principal-img {
    height: 180px;
    max-width: 600px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(250, 128, 114, 0.15);
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-principal-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(250, 128, 114, 0.25);
}

/* Responsive design for banner */
@media (max-width: 1200px) {
    .banner-principal-img {
        height: 160px;
        max-width: 500px;
    }
    .eslogan-banner-flex {
        gap: 0.8rem;
    }
}

@media (max-width: 900px) {
    .banner-principal-img {
        height: 140px;
        max-width: 450px;
        width: 85vw;
    }
    .eslogan-banner-flex {
        flex-direction: column;
        gap: 0.6rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .banner-principal-img {
        height: 120px;
        text-align: center;
        max-width: 400px;
    .footer-container, .footer-column, .copyright {
        text-align: center !important;
    }
        width: 90vw;
        border-radius: 10px;
    }
    .eslogan-banner-flex {
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    .banner-principal-img {
        height: 100px;
        max-width: 350px;
        width: 95vw;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(250, 128, 114, 0.12);
    }
    .eslogan-banner-flex {
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .banner-principal-img {
        height: 80px;
        max-width: 300px;
        width: 98vw;
        border-radius: 6px;
    }
    .eslogan-banner-flex {
        gap: 0.3rem;
    }
}

/* =========================
   Alineación de textos
========================= */
/* Alineación de todos los textos principales y secundarios */
body, h1, h2, h3, h4, h5, h6, p, ul, li, .section-title, .about-section, .about-subtitle, .about-highlight, .mvv-title, .mvv-text, .footer-column, .footer-container, .eslogan-header {
    text-align: center;
}
/* Para textos de cards y productos, si quieres centrados */
.product-title, .product-description, .btn, .featured-product, .product-card {
    text-align: center;
}
/* Para los aliados y logos */
.aliados-list, .aliados-img-list, .aliado-logo {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
/* Para el equipo */
.team-container, .team-member, .team-role {
    text-align: center;
}
/* Para el footer */
.footer-container, .footer-column, .footer-logo-center, .copyright {
    text-align: center;
}
