@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Roboto, sans-serif;
    background: #f5f5f5;
    color: #333333;
    line-height: 1.6;
}

/* Scroll suave y compensación para header sticky */
html {
    scroll-behavior: smooth;
}

/* Compensar el header sticky al navegar con anclas */
section[id] {
    scroll-margin-top: 145px; /* Debe coincidir con top de .seccion-header-sticky */
}

/* Scroll margin para items individuales (producto-X, servicio-X, galeria-X) */
.item[id] {
    scroll-margin-top: 280px; /* Header 145px + seccion-header 65px + tabs 70px */
}

/* ===========================================
   HEADER STICKY
   =========================================== */
header.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #2c3e50;
}

/* Topbar */
.topbar {
    background: #1a252f;
    padding: 8px 20px;
    min-height: 55px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 13px;
    gap: 20px;
}

.topbar:has(.redes:not(:empty)) {
    justify-content: space-between;
}

.redes {
    display: flex;
    gap: 15px;
}

.redes:empty {
    display: none;
}

.redes a {
    color: #ecf0f1;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.redes a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.redes a svg {
    fill: currentColor;
}

.datos_contacto {
    color: #ecf0f1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 15px;
    margin-left: auto;
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    line-height: 1.2;
}

.datos_contacto .dato-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ecf0f1;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.datos_contacto .dato-item svg {
    flex-shrink: 0;
}

.datos_contacto a.dato-item:hover {
    opacity: 1;
}

.datos_contacto .dato-horario {
    opacity: 0.8;
}

/* Forzar horario en nueva línea cuando hay muchos datos */
.datos_contacto .dato-horario.nueva-linea {
    flex-basis: 100%;
    justify-content: flex-end;
}

/* Barra de menú */
.barra_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    min-height: 90px;
    box-sizing: border-box;
}

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

.logo img {
    max-height: 60px;
    border-radius: 4px;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-nombre {
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.logo-slogan {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.logo-text {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

/* ===========================================
   MENÚ HORIZONTAL
   =========================================== */
.nav-principal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.nav-principal ul li {
    margin: 0;
}

.nav-principal ul li a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: background 0.2s;
    font-size: 15px;
    font-weight: 400;
}

.nav-principal ul li a:hover {
    background: rgba(255,255,255,0.1);
}

/* Ocultar INICIO del menú */
.nav-principal ul li:first-child {
    display: none;
}

/* ===========================================
   MAIN SECTIONS
   =========================================== */
main {
    min-height: 60vh;
}

section {
    padding: 0;
    margin: 0;
    position: relative; /* Contexto para sticky children */
}

section > .container {
    padding: 80px 20px;
}

/* Secciones con header sticky: sin padding arriba, el contenido empieza pegado al sticky header */
section.productos > .container,
section.servicios > .container {
    padding: 0 20px 80px 20px;
}

/* El encabezado no tiene el padding extra de section */
section.encabezado,
section.encabezado-carousel,
section#encabezado {
    padding: 0;
    margin: 0;
}

/* El encabezado mantiene su fondo, no hereda nth-child */
section#encabezado {
    background: transparent !important;
}

section:nth-child(even):not(#encabezado) {
    background: #fff;
}

section:nth-child(odd):not(#encabezado) {
    background: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Hero / Encabezado */
.encabezado {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    margin-top: 0; /* Pegado al header */
    padding: 20px;
    position: relative;
}

.encabezado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    pointer-events: none;
}

.encabezado h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.encabezado .slogan {
    font-size: 20px;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Secciones de contenido */
section h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.bloque {
    margin-bottom: 30px;
}

.bloque p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
}

/* Sección Empresa (Quiénes Somos + Qué Hacemos) */
.empresa {
    /* Sin padding adicional - el padding viene del .container */
}

.empresa-bloques {
    display: block;
}

.empresa-bloques.dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.empresa-bloques .bloque {
    margin-bottom: 0;
}

.empresa-bloques .bloque h3 {
    text-align: left;
    margin-bottom: 20px;
    color: #3498db;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .empresa-bloques.dos-columnas {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Sección Contacto - Layout 2 columnas */
.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacto-info {
    padding: 20px 0;
}

.contacto-info p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

.contacto-info a {
    color: #3498db;
    text-decoration: none;
}

.contacto-info a:hover {
    text-decoration: underline;
}

.contacto-redes {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.contacto-redes .redes-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.contacto-redes .redes-icons a {
    color: #3498db;
    transition: transform 0.2s, color 0.2s;
}

.contacto-redes .redes-icons a:hover {
    color: #2c3e50;
    transform: scale(1.1);
}

.mapa {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mapa iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mapa iframe {
        height: 280px;
    }
}

/* Grid de productos/servicios */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Grid centrado con máximo 3 columnas */
.grid-centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 960px;
    margin: 0 auto;
}
.grid-centered .item {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
}
/* 1 item: centrado */
.grid-centered.items-1 .item {
    flex: 0 0 280px;
}
/* 2 items: lado a lado centrados */
.grid-centered.items-2 .item {
    flex: 0 0 280px;
    max-width: 280px;
}
/* 3 items: 3 columnas */
.grid-centered.items-3 .item {
    flex: 0 0 280px;
    max-width: 280px;
}

/* ===========================================
   HEADER STICKY DE SECCIÓN CON MENÚ
   =========================================== */
.seccion-header-sticky {
    position: sticky;
    top: 145px; /* Altura del header sticky (topbar 55px + barra_menu 90px) */
    z-index: 99;
    background: #3498db;
    color: #fff;
    padding: 15px 20px;
    min-height: 65px;
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.seccion-header-sticky h2 {
    margin: 0;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #fff !important;
}

/* Si hay menú de categorías, agregar espacio */
.seccion-header-sticky h2 + .categorias-menu {
    margin-top: 0;
}

.categorias-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.categorias-menu .cat-link {
    display: inline-block;
    padding: 6px 16px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.categorias-menu .cat-link:hover {
    background: #2c3e50;
    transform: translateY(-2px);
}

/* ===========================================
   BUSCADOR DE SECCIÓN
   =========================================== */
.seccion-buscador {
    position: relative;
    width: 300px;
    max-width: 400px;
    margin: 0;
    margin-right: 180px;
    flex-shrink: 0;
}

.input-buscador {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.input-buscador:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px #3498db33;
}

.btn-limpiar-busqueda {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #e0e0e0;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.2s;
}

.btn-limpiar-busqueda:hover {
    background: #ccc;
    color: #333;
}

/* Responsive para header sticky y tabs */
@media (max-width: 600px) {
    .seccion-header-sticky {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 15px;
        top: 75px; /* Header ajustado en móvil */
    }
    
    .seccion-header-sticky h2 {
        text-align: center;
        font-size: 1.3rem;
        margin-left: 0;
    }
    
    .seccion-buscador {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
    
    .categorias-tabs-wrapper {
        top: 130px; /* Ajustado para móvil */
        padding: 8px 10px;
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .categorias-tabs {
        flex-wrap: nowrap;
        padding: 5px;
    }
    
    .categoria-tab {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* Mensaje sin resultados */
.sin-resultados {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* Item oculto por búsqueda */
.item.oculto-busqueda {
    display: none !important;
}

.categoria-grupo.oculto-busqueda {
    display: none !important;
}

/* ===========================================
   SECCIONES ESPECIALES (Novedades/Ofertas)
   =========================================== */
.seccion-especial-carrusel {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #3498db11, #2c3e5011);
    border-radius: 12px;
}

/* Grid de items en secciones especiales - igual que grid-productos */
.seccion-especial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 10px 0;
}

.seccion-especial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.seccion-especial-titulo {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
}

.seccion-especial-count {
    font-size: 0.9rem;
    color: #888;
}

/* ===========================================
   TABS DE CATEGORÍAS
   =========================================== */
.categorias-tabs-section {
    margin-top: 0;
}

.categorias-tabs-titulo {
    display: none; /* Ocultado por diseño */
}

.categorias-tabs-wrapper {
    display: flex;
    justify-content: center;
    padding: 12px 20px;
    margin: 0;
    width: 100%;
    background: #f5f5f5;
    position: sticky;
    top: 210px; /* Header 145px + seccion-header-sticky 65px */
    z-index: 98;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.categorias-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 12px;
}

.categoria-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #333333;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.categoria-tab:hover {
    background: rgba(255,255,255,0.7);
}

.categoria-tab.active {
    background: #3498db;
    color: #fff;
}

.categoria-tab .tab-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Paneles de tabs */
.categorias-tabs-panels {
    position: relative;
}

.categoria-tab-panel {
    display: none;
}

.categoria-tab-panel.active {
    display: block;
}

/* ===========================================
   BOTONES DE COMPARTIR
   =========================================== */
.item-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.share-label {
    font-size: 12px;
    color: #888;
}

/* Versión PC: mostrar botones individuales */
.share-buttons-desktop {
    display: flex;
    gap: 8px;
}

/* Versión Móvil: oculta en PC */
.share-buttons-mobile {
    display: none;
}

/* En móvil: ocultar PC, mostrar móvil */
@media (max-width: 768px) {
    .share-buttons-desktop {
        display: none;
    }
    .share-buttons-mobile {
        display: block;
    }
    .share-label {
        display: none;
    }
}

/* Botón compartir móvil */
.share-btn-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn-mobile:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    text-decoration: none;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #000;
}

.share-btn.copy {
    background: #666;
}

/* Botón LinkedIn */
.share-btn.linkedin {
    background: #0A66C2;
}

/* Botón Email */
.share-btn.email {
    background: #EA4335;
}

/* Botón Más opciones (Web Share API) */
.share-btn.more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.share-btn.copied {
    background: #27ae60 !important;
}

/* Toast para compartir */
.share-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 14px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
    max-width: 90%;
    text-align: center;
}

.share-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.share-toast-success {
    background: rgba(39, 174, 96, 0.95);
}

.share-toast-error {
    background: rgba(231, 76, 60, 0.95);
}

.share-toast-info {
    background: rgba(52, 152, 219, 0.95);
}

.share-toast .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

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

/* Responsive */
@media (max-width: 480px) {
    .item-share {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .share-label {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}

/* Scroll margin para las categorías - debe compensar header + header sticky de sección */
.categoria-grupo {
    scroll-margin-top: 260px;
}

/* Categoría de productos/servicios - Acordeón (nuevo header enriquecido) */
.categoria-grupo {
    margin-bottom: 24px;
}

.categoria-acordeon {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Header enriquecido */
.categoria-header {
    padding: 18px 22px 10px 22px;
    background: transparent;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #ececec;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.categoria-header-titulo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.categoria-titulo {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
    flex: 1;
}
.categoria-count {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: normal;
    margin-left: 8px;
}
.categoria-header-preview {
    margin-bottom: 0;
    margin-top: 0;
    gap: 18px;
}
.item-preview {
    box-shadow: none;
    border: 1px solid #f0f0f0;
    background: #fafbfc;
    min-width: 0;
}
.categoria-header-vermas {
    margin-top: 8px;
    text-align: right;
}
.ver-mas-link {
    display: inline-block;
    background: #3498db;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 7px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.ver-mas-link:hover {
    background: #217dbb;
    color: #fff;
}
.categoria-content {
    display: none;
    padding: 22px 22px 20px 22px;
    border-top: none;
}
.categoria-acordeon.open .categoria-content {
    display: block;
}
.categoria-acordeon.open .categoria-header {
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Ocultar carrusel cuando está abierto */
.categoria-acordeon.open .categoria-carrusel-container {
    display: none;
}

/* Toggle icon */
.categoria-toggle-icon {
    font-size: 12px;
    color: #888;
    transition: transform 0.3s ease;
    margin-left: auto;
}
.categoria-acordeon.open .categoria-toggle-icon {
    transform: rotate(180deg);
}

/* Header clickeable */
.categoria-header-top {
    cursor: pointer;
    padding: 5px 0;
}
.categoria-header-top:hover .categoria-titulo {
    color: #3498db;
}

/* ===========================================
   CARRUSEL DE PRODUCTOS/SERVICIOS
   =========================================== */
.categoria-carrusel-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    position: relative;
}

/* Carrusel clickeable para abrir acordeón */
.carrusel-clickable {
    cursor: pointer;
}
.carrusel-clickable .carrusel-btn {
    cursor: pointer;
}

.categoria-carrusel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carrusel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease;
    will-change: transform;
    align-items: stretch; /* Todos los items misma altura */
}

.carrusel-item {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    height: 220px; /* Altura fija para alineación */
}

.carrusel-item .item-imagen {
    height: 140px;
    flex-shrink: 0;
}

.carrusel-item .item-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carrusel-item .item-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.carrusel-item .item-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.carrusel-item .precio {
    font-size: 0.85rem;
    margin-top: auto;
}

/* Botones del carrusel */
.carrusel-btn {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #3498db;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.carrusel-btn:hover {
    background: #2c3e50;
    transform: scale(1.1);
}

.carrusel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    opacity: 0.5;
}

/* Grid de productos responsivo - Unificado con grid-centered */
.grid-productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 40px 20px;
    max-width: 960px;
    margin: 0 auto;
}

.grid-productos .item {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
}

/* Grid específico para 1, 2, 3 items - Hereda de grid-productos */
.grid-1-items .item {
    flex: 0 0 280px;
}
.grid-2-items .item {
    flex: 0 0 280px;
}
.grid-3-items .item {
    flex: 0 0 280px;
}

/* Categoría simple (sin acordeón) */
.categoria-simple {
    margin-bottom: 30px;
}
.categoria-header-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}
.categoria-header-simple .categoria-titulo {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
}
.categoria-header-simple .categoria-count {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Botón de cerrar al final del contenido */
.categoria-footer-vermas {
    margin-top: 20px;
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .grid-1-items,
    .grid-2-items,
    .grid-3-items {
        grid-template-columns: 1fr;
    }
    .carrusel-item {
        flex: 0 0 160px;
        min-width: 160px;
        max-width: 160px;
    }
    .carrusel-item .item-imagen {
        height: 110px;
    }
    .carrusel-btn {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        font-size: 14px;
    }
    .grid-productos {
        gap: 15px;
    }
    .grid-productos .item {
        flex: 0 0 280px;
        width: 280px;
        max-width: 100%;
    }
    .categoria-header-titulo {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .categoria-header {
        padding: 12px 8px 8px 8px;
        gap: 7px;
    }
    .categoria-header-titulo {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    .categoria-titulo {
        font-size: 1.1rem;
    }
    .categoria-header-preview {
        gap: 10px;
    }
    .ver-mas-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    .categoria-content {
        padding: 10px 6px 10px 6px;
    }
}

/* ===========================================
   PRODUCTOS/SERVICIOS - ESTILO ECOMMERCE
   =========================================== */
.item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.item .item-imagen {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item .item-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #f0f0f0;
}

.item:hover .item-imagen img {
    transform: scale(1.05);
}

.item .item-imagen .badge-oferta {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.item .item-imagen .badge-novedad {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Carrusel de imágenes dentro de items */
.item .imgs-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.item .imgs-carousel .carousel-img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.item .imgs-carousel .carousel-img.active {
    opacity: 1;
}

/* Secciones especiales de Novedades y Ofertas */
.seccion-especial {
    border-left: 4px solid #3498db;
    padding-left: 15px;
    margin-bottom: 30px;
}

.seccion-especial.seccion-novedades {
    border-left-color: #3498db;
}

.seccion-especial.seccion-ofertas {
    border-left-color: #e74c3c;
}

.item .item-content {
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item h3 {
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #2c3e50;
}

/* Link en nombre de producto/servicio */
.item h4 a.item-link,
.item h3 a.item-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.item h4 a.item-link:hover,
.item h3 a.item-link:hover {
    color: #3498db;
    text-decoration: underline;
}

.item p {
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #555555;
    flex: 1;
}

/* Descripción scrolleable */
.item .item-descripcion {
    max-height: 80px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 5px;
}

.item .item-descripcion p {
    margin: 0;
}

.item .item-descripcion::-webkit-scrollbar {
    width: 4px;
}

.item .item-descripcion::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.item .item-descripcion::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.item .item-descripcion::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.item .precio {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.item .precio-normal {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
}

.item .precio-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.item .precio-oferta {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
}

.item .sin-imagen {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95a5a6;
    font-size: 14px;
}

/* Mensaje sección vacía */
.seccion-vacia {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* Botones de acción en items */
.item-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    justify-content: center;
}

.item-actions .btn-comprar,
.item-actions .btn-consultas {
    width: auto;
    min-width: 100px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.btn-comprar {
    background: #27ae60;
    color: white;
}

.btn-comprar:hover {
    background: #20BD5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-consultas {
    background: #3498db;
    color: white;
}

.btn-consultas:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Modal de consultas */
.consulta-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.consulta-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.consulta-modal {
    background: white;
    border-radius: 12px;
    padding: 25px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.consulta-modal-overlay.active .consulta-modal {
    transform: scale(1) translateY(0);
}

.consulta-modal h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.consulta-modal .producto-nombre {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.consulta-modal textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.2s;
}

.consulta-modal textarea:focus {
    outline: none;
    border-color: #3498db;
}

.consulta-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.consulta-modal-actions button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.consulta-modal-actions .btn-enviar-consulta {
    background: #25D366;
    color: white;
}

.consulta-modal-actions .btn-enviar-consulta:hover {
    background: #20BD5A;
}

.consulta-modal-actions .btn-cancelar {
    background: #e0e0e0;
    color: #333;
}

.consulta-modal-actions .btn-cancelar:hover {
    background: #d0d0d0;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 0;
    font-size: 14px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.7;
    font-size: 13px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 13px;
}

.footer-nav ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    background: #1a252f;
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        gap: 6px;
        padding: 6px 15px;
    }
    
    .datos_contacto {
        justify-content: center;
        font-size: 11px;
        gap: 4px 12px;
    }
    
    /* Barra menú: logo y nav en la misma línea */
    .barra_menu {
        flex-direction: row;
        gap: 10px;
        padding: 10px 15px;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    .logo-info {
        display: none; /* Ocultar nombre/slogan en móvil para ahorrar espacio */
    }
    
    .menu {
        flex: 1;
    }
    
    .nav-principal ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0;
    }
    
    .nav-principal ul li a {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .encabezado h1 {
        font-size: 28px;
    }
    
    section h2 {
        font-size: 24px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    /* Grid centrado en móvil */
    .grid-centered {
        flex-direction: column;
        align-items: center;
    }
    .grid-centered .item,
    .grid-centered.items-2 .item,
    .grid-centered.items-3 .item {
        flex: 0 0 100%;
        max-width: 320px;
        width: 100%;
    }
    
    /* Grid de productos en móvil - Unificado */
    .grid-productos {
        flex-direction: column;
        align-items: center;
    }
    .grid-productos .item {
        flex: 0 0 100%;
        max-width: 320px;
        width: 100%;
    }
    
    .categoria-titulo {
        font-size: 1.2rem;
    }
}

/* === MODO EDICIÓN === */
body.webpack-edit-mode {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.webpack-edit-bar {
    background: #111;
    color: white;
    padding: 8px 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #0066cc;
}

.webpack-edit-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.webpack-edit-bar-left,
.webpack-edit-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.webpack-edit-label {
    font-size: 0.85rem;
    color: #aaa;
}

.webpack-toggle-panel {
    padding: 6px 12px;
    background: #333;
    color: white;
    border: 1px solid #555;
    cursor: pointer;
    border-radius: 3px;
}

.webpack-toggle-panel:hover {
    background: #444;
}

/* Panel lateral */
.webpack-panel {
    position: fixed;
    left: 0;
    top: 50px;
    width: 340px;
    height: calc(100vh - 50px);
    background: #202124;
    color: white;
    overflow-y: auto;
    z-index: 999;
    border-right: 1px solid #333;
    transition: transform 0.3s ease;
}

.webpack-panel.collapsed {
    transform: translateX(-100%);
}

.webpack-panel-header {
    padding: 12px;
    border-bottom: 1px solid #333;
    background: #1a1a1a;
    position: sticky;
    top: 0;
}

.webpack-panel-header h2 {
    font-size: 1rem;
    margin: 0;
}

.webpack-panel-body {
    padding: 12px;
}

.webpack-section {
    margin-bottom: 8px;
    border: 1px solid #333;
    border-radius: 3px;
    overflow: hidden;
}

.webpack-section-toggle {
    width: 100%;
    padding: 10px 12px;
    background: #292a2d;
    color: white;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.webpack-section-toggle:hover {
    background: #3c3f44;
}

.webpack-section-content {
    background: #202124;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 12px;
}

.webpack-section.open .webpack-section-content {
    max-height: 1000px;
    padding: 12px;
}

.webpack-field {
    margin-bottom: 12px;
}

.webpack-field label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: #aaa;
    font-weight: 500;
}

.webpack-field input,
.webpack-field textarea {
    width: 100%;
    padding: 6px;
    background: #2d2e30;
    color: #fff;
    border: 1px solid #444;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.9rem;
}

.webpack-field input:focus,
.webpack-field textarea:focus {
    outline: none;
    border-color: #0066cc;
    background: #353739;
}

/* Botones */
.webpack-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.webpack-btn-primary {
    background: #0066cc;
    color: white;
}

.webpack-btn-primary:hover {
    background: #0052a3;
}

.webpack-btn-success {
    background: #28a745;
    color: white;
}

.webpack-btn-success:hover {
    background: #218838;
}

.webpack-btn-secondary {
    background: #6c757d;
    color: white;
}

.webpack-btn-secondary:hover {
    background: #5a6268;
}

/* Main content */
.webpack-main {
    margin-left: 340px;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .webpack-panel {
        width: 100%;
    }

    .webpack-main {
        margin-left: 0;
    }

    .webpack-panel.collapsed {
        display: none;
    }
}

/* ===========================================
   WHATSAPP FLOTANTE
   =========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: #20BD5A;
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Animación de pulso sutil */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* Responsive: un poco más pequeño en móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ===========================================
   BOTÓN SCROLL TO TOP
   =========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn:active {
    transform: translateY(-1px);
}

.scroll-top-btn svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-top-btn {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ===========================================
   ANIMACIONES DE ENTRADA
   =========================================== */

/* Estado inicial - elementos ocultos antes de animar */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Fade In (genérico) */
.anim-fade-in {
    opacity: 0;
}
.anim-fade-in.animated {
    opacity: 1;
}

/* Slide desde arriba */
.anim-slide-down {
    opacity: 0;
    transform: translateY(-50px);
}
.anim-slide-down.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Slide desde abajo */
.anim-slide-up {
    opacity: 0;
    transform: translateY(50px);
}
.anim-slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Slide desde la izquierda */
.anim-slide-left {
    opacity: 0;
    transform: translateX(-50px);
}
.anim-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Slide desde la derecha */
.anim-slide-right {
    opacity: 0;
    transform: translateX(50px);
}
.anim-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In */
.anim-zoom-in {
    opacity: 0;
    transform: scale(0.8);
}
.anim-zoom-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* Zoom Out (desde grande) */
.anim-zoom-out {
    opacity: 0;
    transform: scale(1.2);
}
.anim-zoom-out.animated {
    opacity: 1;
    transform: scale(1);
}

/* Flip horizontal */
.anim-flip-x {
    opacity: 0;
    transform: perspective(400px) rotateX(-90deg);
}
.anim-flip-x.animated {
    opacity: 1;
    transform: perspective(400px) rotateX(0);
}

/* Flip vertical */
.anim-flip-y {
    opacity: 0;
    transform: perspective(400px) rotateY(-90deg);
}
.anim-flip-y.animated {
    opacity: 1;
    transform: perspective(400px) rotateY(0);
}

/* Rotate In */
.anim-rotate-in {
    opacity: 0;
    transform: rotate(-15deg) scale(0.9);
}
.anim-rotate-in.animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Bounce In */
.anim-bounce-in {
    opacity: 0;
    transform: scale(0.3);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
.anim-bounce-in.animated {
    opacity: 1;
    transform: scale(1);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

/* Fade In Up con rebote */
.anim-fade-up-bounce {
    opacity: 0;
    transform: translateY(30px);
}
.anim-fade-up-bounce.animated {
    animation: fadeUpBounce 0.7s ease forwards;
}

@keyframes fadeUpBounce {
    0% { opacity: 0; transform: translateY(30px); }
    60% { opacity: 1; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Delays para elementos secuenciales */
.anim-delay-1 { transition-delay: 0.1s; animation-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; animation-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; animation-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; animation-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; animation-delay: 0.5s; }

/* Transiciones personalizadas */
.anim-slow { transition-duration: 0.8s; }
.anim-fast { transition-duration: 0.4s; }

/* Desactivar animaciones si el usuario prefiere movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .anim-fade-in,
    .anim-slide-down,
    .anim-slide-up,
    .anim-slide-left,
    .anim-slide-right,
    .anim-zoom-in,
    .anim-zoom-out,
    .anim-flip-x,
    .anim-flip-y,
    .anim-rotate-in,
    .anim-bounce-in,
    .anim-fade-up-bounce {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/* ===============================================
   CARRUSEL DE HERO / ENCABEZADO
   =============================================== */
.encabezado-carousel {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 400px;
    margin-top: 0; /* Pegado al header */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-color: #3498db;
    padding: 60px 20px;
    overflow: hidden;
}

.carousel-slide .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
}

.carousel-slide .hero-content {
    position: relative;
    z-index: 2;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator:hover {
    background: rgba(255,255,255,0.8);
}

.carousel-indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Flechas de navegación */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Hero con imagen de fondo */
.encabezado {
    position: relative;
    overflow: hidden;
}

.encabezado .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===============================================
   PLANTILLAS - Variaciones de Layout
   =============================================== */

/* PLANTILLA CLÁSICA - Layout tradicional */
.plantilla-clasica {
    /* Estilos base, ya aplicados por defecto */
}

/* PLANTILLA MODERNA - Más espaciado, cards elevadas */
.plantilla-moderna section {
    padding: 80px 20px;
}

.plantilla-moderna .card-producto,
.plantilla-moderna .card-servicio {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.plantilla-moderna .card-producto:hover,
.plantilla-moderna .card-servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.plantilla-moderna .encabezado {
    min-height: 450px;
}

.plantilla-moderna .productos-grid,
.plantilla-moderna .servicios-grid {
    gap: 30px;
}

/* PLANTILLA MINIMALISTA - Limpia, colores sutiles */
.plantilla-minimalista {
    --shadow-light: 0 2px 8px rgba(0,0,0,0.05);
}

.plantilla-minimalista section {
    padding: 60px 20px;
    background: #fafafa;
}

.plantilla-minimalista section:nth-child(even) {
    background: #fff;
}

.plantilla-minimalista .card-producto,
.plantilla-minimalista .card-servicio {
    border: 1px solid #eee;
    box-shadow: none;
    border-radius: 8px;
}

.plantilla-minimalista .encabezado {
    padding: 80px 20px;
    min-height: auto;
}

.plantilla-minimalista .encabezado h1 {
    font-size: 38px;
    font-weight: 300;
}

.plantilla-minimalista section h2 {
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 24px;
}

/* PLANTILLA COMPACTA - Para mucho contenido */
.plantilla-compacta section {
    padding: 40px 15px;
}

.plantilla-compacta .encabezado {
    min-height: 250px;
    padding: 60px 20px;
}

.plantilla-compacta .encabezado h1 {
    font-size: 32px;
}

.plantilla-compacta .encabezado .slogan {
    font-size: 16px;
}

.plantilla-compacta .productos-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.plantilla-compacta .servicios-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.plantilla-compacta .card-producto,
.plantilla-compacta .card-servicio {
    padding: 15px;
}

.plantilla-compacta section h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

/* Responsive carrusel */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
    
    .carousel-slides,
    .carousel-slide {
        min-height: 350px;
    }
}

/* ===========================================
   GALERÍA DE FOTOS
   =========================================== */
.galeria {
    padding: 0;
    background: #fff;
}

.galeria .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px 20px; /* Sin padding-top para que tabs queden pegados */
}

/* Legacy - mantener por compatibilidad */
.section-galeria {
    padding: 60px 0;
    background: #fff;
}

.section-galeria .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.galeria-categoria {
    margin-bottom: 40px;
}

.galeria-categoria .categoria-titulo {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.galeria-grid,
.galeria-preview-grid,
.galeria-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.galeria-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.galeria-imagen {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
}

.galeria-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-item:hover .galeria-imagen img {
    transform: scale(1.1);
}

/* Badge para indicar múltiples imágenes */
.badge-imagenes {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

/* Thumbnails de galería para items con múltiples imágenes */
.galeria-thumbs {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.galeria-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}

.galeria-thumb:hover {
    border-color: #3498db;
    transform: scale(1.1);
}

.galeria-thumb-more {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.galeria-imagen:hover .galeria-overlay {
    opacity: 1;
}

.galeria-zoom {
    font-size: 2rem;
    color: white;
}

.galeria-content {
    padding: 15px;
}

.galeria-content h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.galeria-content p {
    font-size: 0.9rem;
    color: #333333;
    opacity: 0.8;
}

/* Acordeón de galería */
.galeria-accordion-wrapper {
    margin-top: 15px;
    text-align: center;
}

.galeria-ver-mas {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.galeria-ver-mas:hover {
    background: #2c3e50;
}

.galeria-ver-mas .accordion-arrow {
    transition: transform 0.3s;
}

.galeria-ver-mas.expanded .accordion-arrow {
    transform: rotate(180deg);
}

.galeria-full-grid {
    margin-top: 20px;
}

/* Lightbox de galería */
.galeria-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.galeria-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    padding: 15px;
    font-size: 1.1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    border-radius: 50%;
    padding: 10px 15px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
}

/* Responsive galería */
@media (max-width: 768px) {
    .galeria-grid,
    .galeria-preview-grid,
    .galeria-full-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; }
}

@media (max-width: 480px) {
    .galeria-grid,
    .galeria-preview-grid,
    .galeria-full-grid {
        grid-template-columns: 1fr;
    }
}

/* FORZAR TÍTULOS DE MÓDULOS EN BLANCO - SIEMPRE */
.seccion-header-sticky h2,
section .seccion-header-sticky h2,
.plantilla-clasica .seccion-header-sticky h2,
.plantilla-moderna .seccion-header-sticky h2,
.plantilla-minimalista .seccion-header-sticky h2,
.plantilla-compacta .seccion-header-sticky h2 {
    color: #ffffff !important;
}

/* ============================================ */
/* BANNER DE VERIFICACIÓN */
/* ============================================ */

.verification-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

.verification-banner.minimized {
    min-height: 38px;
}

.verification-banner.minimized .verification-container {
    display: none;
}

.verification-banner.minimized .btn-minimize {
    position: absolute;
    right: 20px;
    top: 5px;
}

.verification-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.progress-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
}

.progress-step.active {
    background: white;
    color: #667eea;
}

.progress-step.completed {
    background: #4CAF50;
    color: white;
}

.progress-line {
    width: 20px;
    height: 3px;
    background: rgba(255,255,255,0.3);
}

.step-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.step-info strong {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.step-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-action.primary {
    background: white;
    color: #667eea;
}

.btn-action.primary:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.btn-action.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
}

.btn-action.secondary:hover {
    background: rgba(255,255,255,0.3);
}

.btn-action.success {
    background: #4CAF50;
    color: white;
    padding: 10px 24px;
    font-size: 14px;
}

.btn-action.success:hover {
    background: #43A047;
    transform: translateY(-1px);
}

.btn-minimize {
    position: absolute;
    right: 20px;
    top: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    transition: all 0.3s;
    z-index: 100000;
}

.btn-minimize:hover {
    background: rgba(255,255,255,0.3);
}

.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.credentials-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #856404;
}

.password-modal-content h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.password-modal-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.password-modal-content .form-group {
    margin-bottom: 15px;
}

.password-modal-content label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.password-modal-content small {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.slug-group .slug-preview {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.slug-group .slug-base {
    padding: 10px;
    background: #e8e8e8;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
}

.slug-group .slug-preview input {
    border: none;
    border-radius: 0;
    background: transparent;
    flex: 1;
    min-width: 80px;
}

.slug-group .slug-preview input:focus {
    border: none;
    outline: none;
}

.password-modal-content input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.password-modal-content input:focus {
    border-color: #667eea;
    outline: none;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 40px;
}

.btn-toggle-pass {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    opacity: 0.6;
}

.btn-toggle-pass:hover {
    opacity: 1;
}

.password-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-modal {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-modal.primary {
    background: #667eea;
    color: white;
}

.btn-modal.secondary {
    background: #e0e0e0;
    color: #666;
}

body.has-verification-banner {
    padding-top: 55px !important;
}

body.has-verification-banner.banner-minimized {
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .verification-container {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }
    
    .progress-indicator {
        order: -1;
    }
    
    .step-content {
        flex-direction: column;
        text-align: center;
    }
    
    .step-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    body.has-verification-banner {
        padding-top: 160px !important;
    }
}

/* ============================================ */
/* BANNER DE VERIFICACIÓN (responsive) */
/* ============================================ */

.verification-banner.minimized {
    min-height: 38px;
}

.verification-banner.minimized .verification-container {
    display: none;
}

.verification-banner.minimized .btn-minimize {
    position: absolute;
    right: 20px;
    top: 5px;
}

.verification-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* Indicador de progreso */
.progress-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.progress-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
}

.progress-step.active {
    background: white;
    color: #667eea;
}

.progress-step.completed {
    background: #4CAF50;
    color: white;
}

.progress-line {
    width: 20px;
    height: 3px;
    background: rgba(255,255,255,0.3);
}

/* Contenido del paso */
.step-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.step-info strong {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.step-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-action.primary {
    background: white;
    color: #667eea;
}

.btn-action.primary:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.btn-action.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
}

.btn-action.secondary:hover {
    background: rgba(255,255,255,0.3);
}

.btn-action.success {
    background: #4CAF50;
    color: white;
    padding: 10px 24px;
    font-size: 14px;
}

.btn-action.success:hover {
    background: #43A047;
    transform: translateY(-1px);
}

/* Botón minimizar */
.btn-minimize {
    position: absolute;
    right: 20px;
    top: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    transition: all 0.3s;
    z-index: 100000;
}

.btn-minimize:hover {
    background: rgba(255,255,255,0.3);
}

/* Modal de contraseña */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.credentials-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #856404;
}

.password-modal-content h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.password-modal-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.password-modal-content .form-group {
    margin-bottom: 15px;
}

.password-modal-content label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.password-modal-content small {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.slug-group .slug-preview {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.slug-group .slug-base {
    padding: 10px;
    background: #e8e8e8;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
}

.slug-group .slug-preview input {
    border: none;
    border-radius: 0;
    background: transparent;
    flex: 1;
    min-width: 80px;
}

.slug-group .slug-preview input:focus {
    border: none;
    outline: none;
}

.password-modal-content input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.password-modal-content input:focus {
    border-color: #667eea;
    outline: none;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 40px;
}

.btn-toggle-pass {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    opacity: 0.6;
}

.btn-toggle-pass:hover {
    opacity: 1;
}

.password-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-modal {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-modal.primary {
    background: #667eea;
    color: white;
}

.btn-modal.secondary {
    background: #e0e0e0;
    color: #666;
}

/* Ajustar body */
body.has-verification-banner {
    padding-top: 55px !important;
}

body.has-verification-banner.banner-minimized {
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .verification-container {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }
    
    .progress-indicator {
        order: -1;
    }
    
    .step-content {
        flex-direction: column;
        text-align: center;
    }
    
    .step-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    body.has-verification-banner {
        padding-top: 160px !important;
    }
}
