/*
Theme Name: SEAN Theme Pro
Theme URI: https://seaa.mx
Author: SEAN
Author URI: https://seaa.mx
Description: Tema SEAN Pro completamente configurable. Incluye opciones para colores, fuentes, imagenes, sliders, secciones modulares y mas.
Version: 4.0.0
License: GPL v2
Text Domain: sean
Requires at least: 5.8
Requires PHP: 7.4
*/

/* ================================
   CSS BASE - RESET & VARIABLES
   ================================ */

:root {
    --sean-primary: #2563eb;
    --sean-primary-dark: #1e40af;
    --sean-secondary: #f59e0b;
    --sean-dark: #1e293b;
    --sean-light: #f8fafc;
    --sean-gray: #64748b;
    --sean-success: #10b981;
    --sean-danger: #ef4444;
    --sean-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --sean-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --sean-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--sean-light);
    color: var(--sean-dark);
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   TOP BAR (Barra superior)
   ================================ */

.sean-top-bar {
    background-color: var(--sean-primary);
    color: white;
    overflow: hidden;
    position: relative;
}

.sean-top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
}

.sean-top-bar-text {
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

/* Animaciones para la top bar */
@keyframes sean-slide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes sean-fade {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes sean-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.sean-top-bar[data-animation="slide"] .sean-top-bar-text {
    animation: sean-slide 15s linear infinite;
}

.sean-top-bar[data-animation="fade"] .sean-top-bar-text {
    animation: sean-fade 3s ease-in-out infinite;
}

.sean-top-bar[data-animation="bounce"] .sean-top-bar-text {
    animation: sean-bounce 1s ease infinite;
}

/* ================================
   HEADER & NAVEGACION
   ================================ */

.sean-header {
    background: white;
    box-shadow: var(--sean-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sean-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sean-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--sean-dark);
}

.sean-logo img {
    max-height: 60px;
    width: auto;
}

.sean-logo-icon {
    width: 45px;
    height: 45px;
    background: var(--sean-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.sean-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sean-primary);
}

.sean-nav {
    display: flex;
    gap: 30px;
}

.sean-nav a {
    text-decoration: none;
    color: var(--sean-gray);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.sean-nav a:hover {
    color: var(--sean-primary);
}

.sean-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sean-primary);
    transition: width 0.3s;
}

.sean-nav a:hover::after {
    width: 100%;
}

/* ================================
   HERO / SLIDER SECTION
   ================================ */

.hero-section {
    padding: 80px 0;
    background: var(--sean-gradient);
    color: white;
}

/* Slider Styles */
.sean-slider {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: var(--sean-radius);
}

.sean-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    padding: 40px;
}

.sean-slide.active {
    opacity: 1;
    position: relative;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    pointer-events: auto;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

/* Hero Content (sin slider) */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-text {
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--sean-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--sean-primary);
}

/* ================================
   STATS SECTION
   ================================ */

.stats-section {
    background: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--sean-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sean-dark);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--sean-gray);
    font-size: 0.95rem;
}

/* ================================
   SECTION HEADERS
   ================================ */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--sean-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--sean-dark);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--sean-primary);
}

.section-description {
    color: var(--sean-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   SERVICES SECTION
   ================================ */

.services-section {
    padding: 100px 0;
    background: var(--sean-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--sean-radius);
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--sean-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--sean-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.service-icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--sean-dark);
    font-size: 1.3rem;
}

.service-card .service-description {
    position: relative;
    margin-bottom: 20px;
    min-height: 60px;
}

.service-card .service-text-short {
    color: var(--sean-gray);
    font-size: 0.95rem;
    margin: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.service-card .service-text-full {
    color: var(--sean-gray);
    font-size: 0.95rem;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover .service-text-short {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.service-card:hover .service-text-full {
    max-height: 500px;
    opacity: 1;
    overflow: visible;
}

.service-card {
    overflow: hidden;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 5px 0;
    color: var(--sean-gray);
    font-size: 0.9rem;
}

.service-features li::before {
    content: 'âœ“';
    color: var(--sean-success);
    margin-right: 8px;
    font-weight: bold;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sean-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.service-btn:hover {
    gap: 12px;
}

/* ================================
   OFFERS SECTION
   ================================ */

.offers-section {
    padding: 100px 0;
    background: var(--sean-gradient);
    color: white;
    text-align: center;
}

.offers-section .section-title {
    color: white;
}

.offers-section .section-description {
    color: rgba(255,255,255,0.9);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    padding: 20px 25px;
    border-radius: var(--sean-radius);
    min-width: 80px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.offer-card {
    background: white;
    border-radius: var(--sean-radius);
    overflow: hidden;
    transition: all 0.3s;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.offer-image {
    height: 200px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-content {
    padding: 25px;
    color: var(--sean-dark);
    text-align: left;
}

.offer-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.offer-content p {
    color: var(--sean-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sean-primary);
    margin-bottom: 20px;
}

.offer-price .original {
    font-size: 1rem;
    color: var(--sean-gray);
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about-section {
    padding: 100px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content h3 {
    color: var(--sean-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--sean-dark);
    margin-bottom: 30px;
}

.about-content h2 span {
    color: var(--sean-primary);
}

.about-block {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--sean-primary);
}

.about-block h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--sean-dark);
}

.about-block p {
    color: var(--sean-gray);
    line-height: 1.7;
}

.about-values h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--sean-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--sean-light);
    padding: 25px;
    border-radius: var(--sean-radius);
    transition: all 0.3s;
}

.value-card:hover {
    background: var(--sean-primary);
    color: white;
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.value-card:hover p {
    opacity: 1;
}

/* ================================
   CONTACT SECTION
   ================================ */

.contact-section {
    padding: 100px 0;
    background: var(--sean-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--sean-dark);
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: var(--sean-primary);
}

.contact-info > p {
    color: var(--sean-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--sean-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--sean-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--sean-gray);
}

.whatsapp-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.whatsapp-btn-large:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: var(--sean-shadow);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--sean-radius);
    box-shadow: var(--sean-shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--sean-dark);
}

/* ================================
   BOTONES GENERALES
   ================================ */

.sean-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.sean-btn-primary {
    background: var(--sean-primary);
    color: white;
}

.sean-btn-primary:hover {
    background: var(--sean-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--sean-shadow);
}

.sean-btn-whatsapp {
    background: #25d366;
    color: white;
}

.sean-btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
}

/* ================================
   CHATBOT INTEGRADO
   ================================ */

.sean-chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.sean-chatbot-widget.sean-chatbot-left {
    right: auto;
    left: 30px;
}

.sean-chatbot-widget.sean-chatbot-left .sean-chatbot-container {
    right: auto;
    left: 0;
}

.sean-chatbot-button {
    width: 60px;
    height: 60px;
    background: var(--sean-primary);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sean-chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.sean-chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: var(--sean-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
}

.sean-chatbot-container.active {
    display: flex;
    flex-direction: column;
}

.sean-chatbot-header {
    background: var(--sean-gradient);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sean-chatbot-header h4 {
    font-size: 1.1rem;
}

.sean-chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.sean-chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--sean-light);
}

.sean-chatbot-input {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
}

.sean-chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    outline: none;
}

.sean-chatbot-input button {
    width: 40px;
    height: 40px;
    background: var(--sean-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

/* ================================
   FOOTER
   ================================ */

.sean-footer {
    background: var(--sean-dark);
    color: white;
    padding: 60px 0 30px;
}

.sean-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 40px;
}

/* Configuraciones de columnas dinamicas */
.sean-footer-grid.sean-footer-columns-1 {
    grid-template-columns: 1fr;
}

.sean-footer-grid.sean-footer-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.sean-footer-grid.sean-footer-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.sean-footer-grid.sean-footer-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Logo del footer */
.sean-footer-logo-section img.sean-footer-logo-img {
    max-height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.sean-footer-logo-section h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.sean-footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.sean-footer-section p {
    color: #94a3b8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.sean-footer-section a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.sean-footer-section a:hover {
    color: white;
}

.sean-footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* ================================
   RESPONSIVE
   ================================ */

/* Prevenir overflow en todos los contenedores principales */
.container,
.sean-container,
.sean-shop-container,
.sean-product-main,
section {
    max-width: 100%;
    box-sizing: border-box;
}

/* ImÃ¡genes responsivas */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .services-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .sean-footer-grid.sean-footer-columns-2,
    .sean-footer-grid.sean-footer-columns-3,
    .sean-footer-grid.sean-footer-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title,
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid,
    .offers-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .sean-footer-grid.sean-footer-columns-1,
    .sean-footer-grid.sean-footer-columns-2,
    .sean-footer-grid.sean-footer-columns-3,
    .sean-footer-grid.sean-footer-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 20px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .sean-chatbot-container {
        width: calc(100vw - 40px) !important;
        max-width: 350px !important;
        height: 60vh !important;
        max-height: 450px !important;
        right: -15px !important;
        left: auto !important;
        position: fixed !important;
        bottom: 80px !important;
    }
    
    .sean-chatbot-widget.sean-chatbot-left .sean-chatbot-container {
        left: -15px !important;
        right: auto !important;
    }
    
    .sean-chatbot-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .sean-chatbot-widget.sean-chatbot-left {
        left: 20px !important;
        right: auto !important;
    }
    
    .sean-chatbot-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .sean-chatbot-messages {
        max-height: calc(60vh - 120px) !important;
    }
}

/* ================================
   UTILIDADES
   ================================ */

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }


/* ================================
   SEARCH SECTION (HOME)
   ================================ */

.search-section {
    padding: 40px 0;
    background: var(--sean-light);
}

.search-form {
    max-width: 700px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: var(--sean-primary);
}

.search-box i {
    padding: 0 20px;
    color: var(--sean-gray);
    font-size: 1.2rem;
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 10px;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-btn {
    background: var(--sean-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--sean-primary-dark);
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 30px;
}

.search-box-small {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 25px;
    padding: 3px;
    overflow: hidden;
}

.search-box-small input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
}

.search-box-small button {
    background: var(--sean-primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box-small button:hover {
    background: var(--sean-primary-dark);
}

/* ================================
   BANNERS SECTION MEJORADO
   ================================ */

.banner-section {
    padding: 40px 0;
    background: white;
}

.banner-link {
    display: block;
    border-radius: var(--sean-radius);
    overflow: hidden;
    transition: all 0.3s;
}

.banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Slider de imÃ¡genes en banners */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--sean-radius);
}

.banner-slider.has-multiple {
    cursor: pointer;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Indicadores de puntos */
.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.banner-dot.active {
    background: var(--sean-primary, #4361ee);
    border-color: white;
    transform: scale(1.2);
}

/* Flechas de navegaciÃ³n */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--sean-text, #333);
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-slider:hover .banner-arrow {
    opacity: 1;
}

.banner-arrow:hover {
    background: var(--sean-primary, #4361ee);
    color: white;
}

.banner-prev {
    left: 15px;
}

.banner-next {
    right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-section {
        padding: 20px 0;
    }
    
    .banner-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        opacity: 0.8;
    }
    
    .banner-prev {
        left: 10px;
    }
    
    .banner-next {
        right: 10px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
}

/* ================================
   PRODUCTS SECTION (HOME)
   ================================ */

.products-section {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.sean-product-card {
    background: white;
    border-radius: var(--sean-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.sean-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.product-image-wrapper {
    position: relative;
    padding: 20px;
    background: #f8fafc;
}

.product-image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--sean-danger);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-title a {
    color: var(--sean-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: var(--sean-primary);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sean-primary);
    margin-bottom: 15px;
}

.product-price del {
    color: var(--sean-gray);
    font-weight: 400;
    margin-left: 8px;
}

.product-price ins {
    text-decoration: none;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--sean-primary);
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: var(--sean-primary-dark);
}

.products-cta {
    text-align: center;
    margin-top: 40px;
}

/* ================================
   HEADER ACTIONS & CART
   ================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sean-gray);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s;
    position: relative;
}

.header-icon:hover {
    background: var(--sean-light);
    color: var(--sean-primary);
}

.cart-icon .cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--sean-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   CONTACT FORM
   ================================ */

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--sean-radius);
    box-shadow: var(--sean-shadow);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--sean-dark);
}

.sean-contact-form .form-group {
    margin-bottom: 20px;
}

.sean-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--sean-dark);
    font-size: 0.9rem;
}

.sean-contact-form input,
.sean-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.sean-contact-form input:focus,
.sean-contact-form textarea:focus {
    outline: none;
    border-color: var(--sean-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sean-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.sean-contact-form button {
    width: 100%;
    justify-content: center;
}

/* ================================
   WOOCOMMERCE SHOP SEARCH
   ================================ */

.shop-search-top {
    background: var(--sean-light);
    padding: 30px 0;
    margin-bottom: 30px;
}

.shop-search-top .search-box {
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   RESPONSIVE ADDITIONS
   ================================ */

@media (max-width: 1024px) {
    .header-search {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-box i {
        display: none;
    }
    
    .search-input {
        width: 100%;
        text-align: center;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .sean-product-card .product-image-wrapper img {
        height: 150px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* ================================
   SIDEBAR MEJORADO - TIENDA
   ================================ */

.sean-shop-layout {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

.sean-shop-with-sidebar .sean-shop-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sean-shop-with-sidebar .sean-shop-main {
    flex: 1;
    min-width: 0;
}

/* Sidebar Widgets */
.sean-sidebar {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

.sean-sidebar-widget {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.sean-sidebar-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sean-sidebar-widget .widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sean-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sean-primary);
    display: inline-block;
}

/* BUSQUEDA GRANDE Y ARRIBA */
.sean-search-widget {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.sean-search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-input-wrapper:focus-within {
    border-color: var(--sean-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.sean-search-form .search-field {
    flex: 1;
    padding: 14px 16px;
    border: none;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.sean-search-form .search-field::placeholder {
    color: #94a3b8;
}

.sean-search-form .search-submit {
    background: var(--sean-primary);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.sean-search-form .search-submit:hover {
    background: var(--sean-primary-dark);
}

/* Lista de categorias */
.sean-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sean-category-list li {
    margin-bottom: 5px;
}

.sean-category-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--sean-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.sean-category-list li a:hover {
    background: white;
    color: var(--sean-primary);
}

.sean-category-list li a i {
    font-size: 0.7rem;
    color: var(--sean-primary);
}

.sean-category-list .count {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Subcategorias */
.subcategory-list {
    list-style: none;
    padding-left: 25px;
    margin-top: 5px;
}

.subcategory-list li a {
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #64748b;
}

/* Filtro de precios */
.price-filter-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-filter-link {
    display: block;
    padding: 10px 14px;
    background: white;
    border-radius: 8px;
    color: var(--sean-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.price-filter-link:hover {
    border-color: var(--sean-primary);
    color: var(--sean-primary);
}

.price-filter-link.active {
    background: var(--sean-primary);
    color: white;
}

.clear-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    color: #ef4444;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 5px;
}

.clear-filter:hover {
    text-decoration: underline;
}

/* Toolbar de la tienda */
.sean-shop-toolbar {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sean-shop-toolbar .woocommerce-result-count {
    margin: 0;
    color: #64748b;
}

.sean-shop-toolbar .woocommerce-ordering {
    margin: 0;
}

.sean-shop-toolbar .woocommerce-ordering select {
    padding: 8px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Header de la tienda */
.sean-shop-header {
    background: linear-gradient(135deg, var(--sean-dark) 0%, #1e293b 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 0;
}

.sean-shop-header .page-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: white;
}

.sean-shop-header .term-description {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
}

/* ================================
   FOOTER LEGAL
   ================================ */

.sean-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

.sean-footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.sean-footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.sean-footer-legal a:hover {
    color: white;
    text-decoration: underline;
}

.sean-footer-legal .separator {
    color: #475569;
}

@media (max-width: 768px) {
    .sean-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .sean-footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sean-shop-layout.sean-shop-with-sidebar {
        flex-direction: column;
    }
    
    .sean-shop-with-sidebar .sean-shop-sidebar {
        width: 100%;
        order: -1;
    }
    
    .sean-sidebar {
        padding: 15px;
    }
}

/* Fix para widgets de WordPress */
.sean-sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sean-sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.sean-sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sean-sidebar-widget ul li a {
    color: var(--sean-text);
    text-decoration: none;
    transition: color 0.3s;
}

.sean-sidebar-widget ul li a:hover {
    color: var(--sean-primary);
}

/* Fix para links del sidebar que aparecen desordenados */
.widget-area ul,
.shop-sidebar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget-area ul li,
.shop-sidebar ul li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 8px !important;
}

.widget-area ul li a,
.shop-sidebar ul li a {
    display: block !important;
    padding: 8px 0 !important;
}


/* ================================
   SINGLE PRODUCT - IMAGENES CONTROLADAS
   ================================ */

.sean-single-product-wrapper {
    padding: 40px 0;
    background: #f8fafc;
    min-height: 80vh;
}

/* Breadcrumbs */
.sean-breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #64748b;
}

.sean-breadcrumbs a {
    color: var(--sean-primary);
    text-decoration: none;
}

.sean-breadcrumbs a:hover {
    text-decoration: underline;
}

.sean-breadcrumbs span {
    margin: 0 10px;
    color: #94a3b8;
}

.sean-breadcrumbs .current {
    color: #334155;
    font-weight: 500;
}

/* Layout principal del producto */
.sean-product-main {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

/* GALERIA - IMAGENES CONTROLADAS */
.sean-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-main-image {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 400px;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumb-item {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-item:hover {
    border-color: var(--sean-primary);
}

.thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* INFORMACION DEL PRODUCTO */
.sean-product-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sean-product-summary .product_title {
    font-size: 1.8rem;
    color: var(--sean-dark);
    margin: 0;
    line-height: 1.3;
}

.product-price-wrapper .price {
    font-size: 1.6rem;
    color: var(--sean-primary);
    font-weight: 700;
}

.product-price-wrapper .price del {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-right: 10px;
}

.product-price-wrapper .price ins {
    text-decoration: none;
}

.product-short-description {
    color: #64748b;
    line-height: 1.7;
}

/* Boton agregar al carrito */
.product-add-to-cart {
    margin-top: 10px;
}

.product-add-to-cart .quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 15px;
}

.product-add-to-cart .quantity label {
    margin-right: 10px;
    color: #64748b;
}

.product-add-to-cart .quantity input {
    width: 70px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}

.product-add-to-cart .single_add_to_cart_button {
    background: var(--sean-primary);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background: var(--sean-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Boton WhatsApp */
.whatsapp-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
}

.whatsapp-product-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Meta del producto */
.product-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #64748b;
}

.product-meta span {
    display: block;
    margin-bottom: 8px;
}

.product-meta a {
    color: var(--sean-primary);
    text-decoration: none;
}

/* TABS */
.sean-product-tabs {
    background: white;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.sean-product-tabs .wc-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 25px;
    list-style: none;
    padding: 0;
}

.sean-product-tabs .wc-tabs li {
    margin: 0;
}

.sean-product-tabs .wc-tabs li a {
    display: block;
    padding: 15px 5px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.sean-product-tabs .wc-tabs li.active a,
.sean-product-tabs .wc-tabs li a:hover {
    color: var(--sean-primary);
    border-bottom-color: var(--sean-primary);
}

.sean-product-tabs .woocommerce-Tabs-panel {
    color: #475569;
    line-height: 1.8;
}

.sean-product-tabs .woocommerce-Tabs-panel h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--sean-dark);
}

/* Tabla de especificaciones */
.sean-product-tabs .woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}

.sean-product-tabs .woocommerce-product-attributes tr {
    border-bottom: 1px solid #e2e8f0;
}

.sean-product-tabs .woocommerce-product-attributes th,
.sean-product-tabs .woocommerce-product-attributes td {
    padding: 15px;
    text-align: left;
}

.sean-product-tabs .woocommerce-product-attributes th {
    width: 30%;
    color: #64748b;
    font-weight: 500;
}

/* Productos relacionados */
.sean-related-products {
    margin-top: 50px;
}

.sean-related-products > h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--sean-dark);
}

.sean-related-products .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sean-related-products .sean-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.sean-related-products .sean-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sean-product-main {
        grid-template-columns: 350px 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .sean-related-products .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sean-product-main {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    
    .gallery-main-image {
        min-height: 250px;
        max-height: 300px;
    }
    
    .gallery-main-image img {
        max-height: 250px;
    }
    
    .sean-product-summary .product_title {
        font-size: 1.5rem;
    }
    
    .product-price-wrapper .price {
        font-size: 1.4rem;
    }
    
    .sean-product-tabs {
        padding: 20px;
    }
    
    .sean-related-products .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sean-related-products .products {
        grid-template-columns: 1fr;
    }
    
    .thumb-item {
        width: 60px;
        height: 60px;
    }
}


/* ================================
   WOOCOMMERCE GALLERY - OVERRIDE
   ================================ */

/* Contenedor principal de la galeria de WooCommerce */
.sean-product-gallery-wrapper {
    width: 100%;
    max-width: 450px;
}

.sean-product-gallery-wrapper .woocommerce-product-gallery {
    position: relative;
    margin-bottom: 0;
}

/* Imagen principal - TAMAÃ‘O CONTROLADO */
.sean-product-gallery-wrapper .woocommerce-product-gallery__wrapper {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    max-height: 450px;
}

.sean-product-gallery-wrapper .woocommerce-product-gallery__image {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sean-product-gallery-wrapper .woocommerce-product-gallery__image img {
    max-width: 100%;
    max-height: 380px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px;
}

/* Thumbnails de la galeria */
.sean-product-gallery-wrapper .flex-control-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}

.sean-product-gallery-wrapper .flex-control-thumbs li {
    width: 70px !important;
    height: 70px !important;
    float: none !important;
    margin: 0 !important;
}

.sean-product-gallery-wrapper .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 5px;
    background: #f8fafc;
    opacity: 0.7;
    transition: all 0.3s;
}

.sean-product-gallery-wrapper .flex-control-thumbs li img:hover,
.sean-product-gallery-wrapper .flex-control-thumbs li img.flex-active {
    border-color: var(--sean-primary);
    opacity: 1;
}

/* Flechas de navegacion */
.sean-product-gallery-wrapper .flex-direction-nav {
    display: none;
}

/* Badges (Sale, etc) */
.sean-product-gallery-wrapper .onsale {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ef4444;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

/* Lightbox zoom icon */
.sean-product-gallery-wrapper .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.sean-product-gallery-wrapper .woocommerce-product-gallery__trigger:before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--sean-dark);
    font-size: 0.9rem;
}

/* Productos relacionados - ajuste de grid */
.related.products > h2 {
    font-size: 1.5rem;
    margin: 40px 0 25px;
    color: var(--sean-dark);
}

.related.products .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Upsells */
.up-sells.products > h2 {
    font-size: 1.5rem;
    margin: 40px 0 25px;
    color: var(--sean-dark);
}

/* RESPONSIVE para galeria */
@media (max-width: 1024px) {
    .sean-product-gallery-wrapper {
        max-width: 350px;
    }
    
    .sean-product-gallery-wrapper .woocommerce-product-gallery__wrapper {
        min-height: 300px;
        max-height: 350px;
    }
    
    .sean-product-gallery-wrapper .woocommerce-product-gallery__image img {
        max-height: 300px !important;
    }
    
    .related.products .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sean-product-gallery-wrapper {
        max-width: 100%;
    }
    
    .sean-product-gallery-wrapper .woocommerce-product-gallery__wrapper {
        min-height: 280px;
        max-height: 320px;
    }
    
    .sean-product-gallery-wrapper .woocommerce-product-gallery__image img {
        max-height: 280px !important;
    }
    
    .sean-product-gallery-wrapper .flex-control-thumbs li {
        width: 60px !important;
        height: 60px !important;
    }
    
    .related.products .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sean-product-gallery-wrapper .woocommerce-product-gallery__wrapper {
        min-height: 250px;
        max-height: 280px;
        padding: 15px;
    }
    
    .sean-product-gallery-wrapper .woocommerce-product-gallery__image img {
        max-height: 240px !important;
    }
    
    .related.products .products {
        grid-template-columns: 1fr;
    }
}


/* ================================
   TIENDA - LAYOUT CON SIDEBAR
   ================================ */

.sean-shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sean-shop-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar */
.sean-shop-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sean-sidebar-shop {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Contenido principal */
.sean-shop-main {
    flex: 1;
    min-width: 0;
}

/* Widgets del sidebar */
.sean-sidebar-widget {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.sean-sidebar-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sean-sidebar-widget .widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sean-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sean-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sean-sidebar-widget .widget-title i {
    color: var(--sean-primary);
}

/* BUSQUEDA GRANDE */
.sean-search-widget {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin: -20px -20px 20px -20px;
    border-radius: 12px 12px 0 0;
}

.sean-search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-input-wrapper:focus-within {
    border-color: var(--sean-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.sean-search-form .search-field {
    flex: 1;
    padding: 14px 16px;
    border: none;
    font-size: 1rem;
    background: transparent;
    outline: none;
    min-width: 0;
}

.sean-search-form .search-field::placeholder {
    color: #94a3b8;
}

.sean-search-form .search-submit {
    background: var(--sean-primary);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.sean-search-form .search-submit:hover {
    background: var(--sean-primary-dark);
}

/* Lista de categorias */
.sean-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sean-category-list li {
    margin-bottom: 5px;
}

.sean-category-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--sean-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.sean-category-list li a:hover {
    background: #f8fafc;
    color: var(--sean-primary);
}

.sean-category-list li a i {
    font-size: 0.7rem;
    color: var(--sean-primary);
}

.sean-category-list .count {
    margin-left: auto;
    background: #e2e8f0;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Subcategorias */
.subcategory-list {
    list-style: none;
    padding-left: 25px;
    margin-top: 5px;
}

.subcategory-list li a {
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #64748b;
}

.subcategory-list li a .count {
    background: transparent;
    padding: 0;
    font-size: 0.8rem;
}

/* Filtro de precios */
.price-filter-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-filter-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
    color: var(--sean-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.price-filter-link:hover {
    border-color: var(--sean-primary);
    color: var(--sean-primary);
    background: white;
}

.price-filter-link.active {
    background: var(--sean-primary);
    color: white;
}

.price-filter-link.active i {
    color: white;
}

.price-filter-link i {
    color: var(--sean-primary);
    font-size: 0.8rem;
}

.clear-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    color: #ef4444;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 5px;
}

.clear-filter:hover {
    text-decoration: underline;
}

/* Toolbar de la tienda */
.sean-shop-toolbar {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sean-shop-toolbar .woocommerce-result-count {
    margin: 0;
    color: #64748b;
}

.sean-shop-toolbar .woocommerce-ordering {
    margin: 0;
}

.sean-shop-toolbar .woocommerce-ordering select {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Grid de productos */
.sean-shop-main .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sean-shop-main .products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sean-shop-layout {
        flex-direction: column;
    }
    
    .sean-shop-sidebar {
        width: 100%;
        order: -1;
    }
    
    .sean-sidebar-shop {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sean-sidebar-widget {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .sean-search-widget {
        grid-column: 1 / -1;
        margin: -20px -20px 0 -20px;
        border-radius: 12px 12px 0 0;
    }
    
    .sean-shop-main .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sean-shop-main .products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sean-sidebar-shop {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .sean-shop-main .products {
        grid-template-columns: 1fr;
    }
}

/* ================================
   PRODUCTOS RELACIONADOS - FIX
   ================================ */

.related.products {
    margin-top: 50px;
    clear: both;
}

.related.products > h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--sean-dark);
    text-align: left;
}

.related.products .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related.products .product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* Fix para las tarjetas de productos relacionados */
.related .sean-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related .sean-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.related .product-image-wrapper {
    position: relative;
    background: #f8fafc;
    padding: 20px;
    text-align: center;
}

.related .product-image-wrapper img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

.related .product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related .product-info h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--sean-dark);
    line-height: 1.4;
}

.related .product-info h2 a {
    color: inherit;
    text-decoration: none;
}

.related .product-info h2 a:hover {
    color: var(--sean-primary);
}

.related .product-price {
    margin-top: auto;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sean-primary);
}

.related .product-price del {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-right: 8px;
}

.related .product-price ins {
    text-decoration: none;
}

/* RESPONSIVE productos relacionados */
@media (max-width: 1024px) {
    .related.products .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related.products .products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related .product-image-wrapper img {
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .related.products .products {
        grid-template-columns: 1fr;
    }
}

/* Fix para tabs */
.woocommerce-tabs {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 25px;
    list-style: none;
    padding: 0;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 5px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--sean-primary);
    border-bottom-color: var(--sean-primary);
}

.woocommerce-Tabs-panel {
    color: #475569;
    line-height: 1.8;
}

.woocommerce-Tabs-panel h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--sean-dark);
}

/* Tabla de especificaciones */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-product-attributes tr {
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 15px;
    text-align: left;
}

.woocommerce-product-attributes th {
    width: 30%;
    color: #64748b;
    font-weight: 500;
    background: #f8fafc;
}

/* Upsells */
.up-sells.products {
    margin-top: 40px;
}

.up-sells.products > h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--sean-dark);
}

.up-sells.products .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


/* ========================================
   HEADER RESPONSIVE - CORRECCIONES MÓVIL
   ======================================== */

@media (max-width: 768px) {
    /* Header más compacto */
    .sean-header {
        padding: 10px 0;
    }
    
    .sean-header-inner {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Logo más pequeño */
    .sean-logo {
        font-size: 1.5rem;
    }
    
    .sean-logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    /* Navegación oculta por defecto en móvil */
    .sean-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .sean-nav.active {
        display: flex;
    }
    
    .sean-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .sean-nav a:last-child {
        border-bottom: none;
    }
    
    /* Botón menú móvil visible */
    .sean-mobile-menu-toggle {
        display: block !important;
        order: 3;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--sean-primary);
        cursor: pointer;
        padding: 10px;
    }
    
    /* Header actions más compacto */
    .header-actions {
        gap: 10px;
        order: 2;
    }
    
    .header-actions .sean-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .header-actions .sean-btn i {
        margin-right: 5px;
    }
    
    /* Ocultar texto de botones en móvil, mostrar solo iconos */
    .header-actions .sean-btn span,
    .header-actions .sean-btn:not(.sean-btn-whatsapp) {
        display: none;
    }
    
    .header-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Top bar más pequeña */
    .sean-top-bar {
        padding: 8px 0;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* En móviles muy pequeños */
    .sean-header-inner {
        padding: 0 10px;
    }
    
    .sean-logo-text {
        font-size: 1.2rem;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    /* Mostrar solo WhatsApp y Carrito en móvil pequeño */
    .header-actions .sean-btn-cotizar {
        display: none;
    }
}

