/*
\bhoga\assets\css\front-page.css
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Hero Section con Carrusel */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
}

.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide:nth-child(1) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
}

.carousel-slide:nth-child(2) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1559181567-c3190ca9959b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
}

.carousel-slide:nth-child(3) {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #333;
    padding: 15px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Controles del carrusel */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: white;
}

/* Sección de características/certificaciones */
.features-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 20px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

@media (max-width: 968px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(85, 85, 85, 0.3);
}

.feature-icon {
    margin-bottom: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.feature-item:hover .feature-icon {
    opacity: 1;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Sección Lo Nuevo - Carrusel */
.new-products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.new-products-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.new-products-carousel-container {
    position: relative;
    overflow: hidden;
}

.new-products-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.new-product-slide {
    flex: 0 0 20%;
    padding: 0 15px;
    box-sizing: border-box;
}

.new-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e8e9ea;
    position: relative;
}

.new-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.new-product-image {
    width: auto;
    height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.new-product-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.new-add-to-cart-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #7CB342;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: block;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    z-index: 2;
    overflow: hidden;
    font-size: 24px;
    font-weight: bold;
}

.new-add-to-cart-overlay:hover {
    background: #689F38;
    border-radius: 20px;
    width: auto;
    padding: 8px 15px;
    font-size: 12px;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-add-to-cart-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    display: none;
}

.new-add-to-cart-overlay:hover .new-add-to-cart-text {
    opacity: 1;
    transform: translateX(0);
    display: inline-block;
}

.new-product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.new-product-name {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 8px;
    color: #666;
    line-height: 1.4;
}

.new-product-name a {
    text-decoration: none;
    color: inherit;
}

.new-product-name a:hover {
    color: #667eea;
}

.new-product-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    gap: 2px;
}

.new-star {
    color: #FFD700;
    font-size: 14px;
}

.new-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: auto;
}

.new-product-price del,
.new-product-price ins {
  display: block;
  text-align: center; /* opcional */
}

/* Sección Explora Nuestras Tiendas */
.explore-shops-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.explore-container {
    max-width: 1200px;
    margin: 0 auto;
}

.explore-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    font-weight: bold;
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 180px);
    gap: 15px;
}

.shop-card {
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Layout específico como en la imagen */
.shop-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.shop-card:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.shop-card:nth-child(3) {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
}

.shop-card:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.shop-card:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.shop-card:nth-child(6) {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
}

.shop-card:nth-child(7) {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
}

.shop-card:nth-child(8) {
    grid-column: 5 / 7;
    grid-row: 3 / 4;
}

.shop-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 20px;
    text-align: center;
}

.shop-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.shop-title a {
    color: white;
    text-decoration: none;
}

.shop-title a:hover {
    text-decoration: underline;
}

/* Fondos específicos para cada categoría */
.vitamins-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #f4d03f;
}

.immune-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #e8f5e8;
}

.shipping-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #4dd0e1;
}

.selfcare-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #f8bbd9;
}

.about-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #8bc34a;
}

.truth-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #fff3e0;
}

.professional-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #ffccbc;
}

.diet-bg {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), #8bc34a;
}

/* Sección de productos destacados */
.featured-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.featured-carousel-container {
    position: relative;
    overflow: hidden;
}

.featured-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.featured-slide {
    flex: 0 0 20%;
    padding: 0 15px;
    box-sizing: border-box;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e8e9ea;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.product-image {
    width: auto;
    height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-to-cart-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #7CB342;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: block;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    z-index: 2;
    overflow: hidden;
    font-size: 24px;
    font-weight: bold;
}

.add-to-cart-overlay:hover {
    background: #689F38;
    border-radius: 20px;
    width: auto;
    padding: 8px 15px;
    font-size: 12px;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-left: 8px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    display: none;
}

.add-to-cart-overlay:hover .add-to-cart-text {
    opacity: 1;
    transform: translateX(0);
    display: inline-block;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-name {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 8px;
    color: #666;
    line-height: 1.4;
}

.product-name a {
    text-decoration: none;
    color: inherit;
}

.product-name a:hover {
    color: #667eea;
}

.product-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    gap: 2px;
}

.star {
    color: #FFD700;
    font-size: 14px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: auto;
}

.product-price del,
.product-price ins {
  display: block;
  text-align: center; /* opcional */
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-nav.prev {
    left: 0px;
}

.carousel-nav.next {
    right: 0px;
}

/* Sección de testimonios */
.testimonials-section {
    background: white;
    padding: 20px 20px;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.testimonials-carousel {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 300%;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 3px;
}

.testimonial-star {
    color: #FFD700;
    font-size: 18px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
    text-align: center;
    font-size: 16px;
}

.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-dot.active {
    background: #667eea;
}

/* Contenido de página */
.page-content {
    padding: 60px 20px;
    background: white;
}

.page-content .container {
    max-width: 1200px;
    margin: 0 auto;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-bottom: 20px;
    color: #333;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .shops-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 180px);
    }
    
    .new-product-slide,
    .featured-slide {
        flex: 0 0 50%;
    }
    
    .testimonials-carousel {
        width: 200%;
    }
    
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .shops-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 160px);
    }
    
    .new-product-slide,
    .featured-slide {
        flex: 0 0 100%;
    }
    
    .testimonials-carousel {
        width: 100%;
    }
    
    .testimonial-slide {
        flex: 0 0 100%;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .section-title,
    .new-products-title,
    .explore-title {
        font-size: 28px;
    }
}

.collage-header {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    /* Opcional: animación de aparición */
    animation: fadeInDown 0.8s;
}

.collage-title {
    font-size: 2.2rem;
    font-family: 'Roboto Slab', Arial, sans-serif;
    font-weight: 700;
    color: #262626;
    letter-spacing: 1px;
    margin: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}