/**
 * Estilos para la página de inicio
 */

/* Estilos principales para #main.site-main.home-page */
#main.site-main.home-page,
main#main.site-main.home-page,
#main.site-main.home-page.w-full {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    position: relative !important;
    display: block !important;
}

/* Mobile: asegurar pantalla completa */
@media (max-width: 767px) {
    #main.site-main.home-page,
    main#main.site-main.home-page,
    #main.site-main.home-page.w-full {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Desktop: mantener contenedor */
@media (min-width: 768px) {
    #main.site-main.home-page,
    main#main.site-main.home-page,
    #main.site-main.home-page.w-full {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Banners - Mejorado */
.yeshua-banners-section {
    margin: 2rem 0 3rem;
}

/* Mobile: sin márgenes - pantalla completa */
@media (max-width: 767px) {
    .yeshua-banners-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 1.5rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .yeshua-banners-section > div {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.yeshua-banner-carousel {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0;
    padding: 0;
}

.yeshua-banner-carousel::-webkit-scrollbar {
    display: none;
}

/* Desktop: formato 1920x1080 (16:9) */
@media (min-width: 768px) {
    .yeshua-banner-carousel {
        aspect-ratio: 16 / 9; /* 1920x1080 */
        overflow-x: hidden;
        border-radius: 1.5rem;
        box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    }
}

/* Asegurar que el H2 sea blanco */
.yeshua-banner-carousel h2,
.banner-slide h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    z-index: 0;
    display: block;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Mobile: scroll horizontal sin márgenes ni border-radius */
@media (max-width: 767px) {
    .yeshua-banners-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .yeshua-banners-section > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .yeshua-banner-carousel {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        aspect-ratio: unset !important;
    }
    
    .banner-slide {
        position: relative !important;
        min-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        flex-shrink: 0 !important;
        opacity: 1 !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    .banner-slide > div {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        position: relative !important;
    }
    
    /* Ocultar imagen desktop en mobile */
    .banner-image-desktop {
        display: none !important;
    }
    
    /* Mostrar solo imagen mobile */
    .banner-image-mobile {
        display: block !important;
    }
    
    .banner-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Desktop: mostrar solo imagen desktop */
@media (min-width: 768px) {
    /* Ocultar imagen mobile en desktop */
    .banner-image-mobile {
        display: none !important;
    }
    
    /* Mostrar solo imagen desktop */
    .banner-image-desktop {
        display: block !important;
    }
}

.banner-slide.opacity-100 {
    opacity: 1;
    z-index: 10;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sin animaciones de zoom para mantener las imágenes limpias */

/* Sin overlay - solo imágenes */

.yeshua-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
}

.yeshua-banner-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(to bottom, #f59e0b, #d97706);
    color: #fff;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.yeshua-banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .yeshua-banner-title {
        font-size: 3rem;
    }
}

.yeshua-banner-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.yeshua-banner-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.yeshua-banner-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(to right, #d4af37, #b8941f);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.yeshua-banner-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Controles de navegación - Ocultos */
.banner-nav {
    display: none !important;
}

/* Dots tipo Apple elegantes y pequeños - Estilo iPhone */
.yeshua-banner-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 20 !important;
}

.yeshua-banner-dot {
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
    min-width: 4px !important;
    min-height: 4px !important;
}

.yeshua-banner-dot:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.3) !important;
}

.yeshua-banner-dot.yeshua-banner-dot-active {
    background: rgba(255, 255, 255, 1) !important;
    width: 16px !important;
    height: 4px !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

.yeshua-banner-dot:focus-visible {
    outline: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    outline-offset: 2px !important;
    border-radius: 50% !important;
}

/* Mobile: dots estilo iPhone pequeños */
@media (max-width: 1023px) {
    .yeshua-banner-dots {
        gap: 5px !important;
        bottom: 0.75rem !important;
    }
    
    .yeshua-banner-dot {
        width: 3.5px !important;
        height: 3.5px !important;
        min-width: 3.5px !important;
        min-height: 3.5px !important;
    }
    
    .yeshua-banner-dot.yeshua-banner-dot-active {
        width: 14px !important;
        height: 3.5px !important;
        border-radius: 1.75px !important;
    }
}

/* Contenido del banner con animación */
.banner-content-wrapper {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease;
}

/* Categorías */
.yeshua-categories-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.yeshua-category-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.yeshua-category-carousel::-webkit-scrollbar {
    display: none;
}

.yeshua-category-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    padding: 1rem;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    min-width: 100px;
}

.yeshua-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.yeshua-category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.yeshua-category-name {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

/* Trust Badges */
.yeshua-trust-badges-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: #fff;
}

.yeshua-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .yeshua-trust-badges {
        grid-template-columns: repeat(4, 1fr);
    }
}

.yeshua-trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.yeshua-trust-icon {
    font-size: 2rem;
}

.yeshua-trust-badge strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.yeshua-trust-badge span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Carruseles de productos */
.yeshua-product-carousel-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.yeshua-product-carousel-header {
    margin-bottom: 2rem;
}

.yeshua-product-carousel-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.yeshua-product-carousel-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}

.yeshua-product-carousel-wrapper {
    position: relative;
}

.yeshua-product-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.yeshua-product-carousel::-webkit-scrollbar {
    display: none;
}

.yeshua-product-carousel-item {
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: start;
}

@media (min-width: 1024px) {
    .yeshua-product-carousel-item {
        width: 300px;
    }
}

.yeshua-product-card {
    display: block;
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.yeshua-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.yeshua-product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(to bottom, #f59e0b, #d97706);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.yeshua-product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.yeshua-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.yeshua-product-card:hover .yeshua-product-image img {
    transform: scale(1.1);
}

.yeshua-product-info {
    padding: 1rem;
}

.yeshua-product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yeshua-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.yeshua-product-price del {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.yeshua-product-price ins {
    text-decoration: none;
    color: #dc2626;
}

.yeshua-product-add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.yeshua-product-add-to-cart:hover {
    background: var(--accent-color);
    color: var(--text-color);
    transform: scale(1.02);
}

/* Marcas */
.yeshua-brands-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: #f9fafb;
}

.yeshua-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.yeshua-brands-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.yeshua-brand-item {
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s;
}

.yeshua-brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sobre Nosotros */
.yeshua-about-section {
    margin: 3rem 0;
    padding: 3rem 0;
    background: #fff;
}

.yeshua-about-content {
    text-align: center;
}

.yeshua-about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.yeshua-about-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.yeshua-about-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .yeshua-about-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

.yeshua-about-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
}

.yeshua-about-icon {
    font-size: 2.5rem;
}

.yeshua-about-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.yeshua-about-item span {
    font-size: 0.875rem;
    color: var(--text-light);
}

