/* --- Variables y Reset --- */
:root {
    --primary-color: #F07E19;
    --text-dark: #111111;
    --text-light: #555555;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Evita que elementos anchos rompan el scroll lateral en móvil */
}

/* Solo ocultamos el cursor si estamos en la página principal con el cursor personalizado */
body.custom-cursor-site {
    cursor: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer; /* Cursor normal para Login/Admin */
}

.custom-cursor-site a {
    cursor: none; /* Oculto en Index */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top Banner --- */
.top-banner {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
}

.top-banner ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap; /* Para que se ajuste en móvil */
}

.top-banner a {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

/* --- Header --- */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky; /* Se queda fijo en la parte superior al hacer scroll */
    top: 0;
    z-index: 1000; /* Aseguramos que esté por encima de otros elementos */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Aumentamos altura del header para mayor presencia */
    max-width: 100%; /* Ocupar todo el ancho de la pantalla */
    padding: 0 2rem; /* Ajustamos el padding para que llegue más a los bordes */
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 65px; /* Logo más grande */
    width: auto;
}

.nav {
    align-self: center; /* Centramos el menú verticalmente para que se vea alineado */
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Espacio entre elementos */
    background-color: var(--primary-color); /* Fondo naranja encapsulado */
    padding: 0.5rem 1.5rem; /* Padding para crear la forma de píldora */
    border-radius: 50px; /* Bordes redondeados */
    box-shadow: var(--shadow); /* Sombra sutil */
}

.nav-link {
    font-weight: 700;
    color: var(--white); /* Texto blanco sobre fondo naranja */
    transition: var(--transition);
    font-size: 0.85rem; /* Letra un poco más compacta para acomodar textos largos */
    letter-spacing: 0.5px;
    position: relative;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

/* Animación de subrayado en el menú */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--white); /* Subrayado blanco */
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 0.9; /* Ligera transparencia al pasar el mouse */
}
.nav-link:hover::after {
    width: 100%;
}

/* Iconos del menú de navegación */
.nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Logo dentro del menú móvil (oculto por defecto en escritorio) */
.mobile-logo {
    display: none;
}

/* --- Menú Hamburguesa (Móvil) --- */
.menu-toggle {
    display: none; /* Oculto en escritorio */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Por encima del menú desplegable */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-dark); /* Color oscuro para que se vea en fondo blanco */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Estilos específicos para Móvil */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Mostrar botón en móvil */
    }

    /* Animación del botón a X */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--white); /* Blanco sobre fondo negro */
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--white);
    }

    /* Transformar la lista de navegación */
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95); /* Negro con ligera transparencia */
        backdrop-filter: blur(10px); /* Efecto de desenfoque moderno */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        border-radius: 0;
        gap: 1.5rem; /* Reducimos espacio para que quepan bien los nombres largos */
        transform: translateX(100%); /* Oculto a la derecha por defecto */
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: none;
    }

    .nav-list.active {
        transform: translateX(0); /* Mostrar menú */
    }

    /* Mostrar y estilizar el logo en el menú móvil */
    .mobile-logo {
        display: block;
        margin-bottom: 3rem;
    }
    .mobile-logo img {
        height: 60px;
        width: auto;
    }

    /* Animación en cascada para los elementos */
    .nav-list.active li {
        opacity: 0;
        animation: fadeInUp 0.5s ease forwards;
    }

    /* Retrasos para que aparezcan uno por uno */
    .nav-list.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-list.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-list.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-list.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-list.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-list.active li:nth-child(6) { animation-delay: 0.6s; }
    .nav-list.active li:nth-child(7) { animation-delay: 0.7s; }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-link {
        font-size: 1.2rem; /* Reducimos tamaño para que textos largos se vean elegantes */
        color: var(--white);
        font-weight: 700;
        letter-spacing: 0.5px;
        text-align: center; /* Asegura que si el texto baja de línea, se vea centrado */
        line-height: 1.4; /* Espaciado equilibrado entre líneas */
        max-width: 90%; /* Evita que el texto toque los bordes de la pantalla */
        justify-content: center;
    }

    /* Resaltar enlace de Contacto en naranja */
    .nav-link[href="#contacto"] {
        color: var(--primary-color);
    }
}

/* --- Hero Section --- */
.hero {
    padding: 0;
    background-color: var(--white);
    height: auto;
    position: relative;
    overflow: hidden;
}

/* Contenedor del Carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    /* La altura se ajustará automáticamente al contenido de la imagen activa */
}

.carousel-slide {
    display: none; /* Ocultamos todas por defecto */
    width: 100%;
    animation: fadeEffect 1s; /* Efecto de desvanecimiento suave */
}

.carousel-slide.active {
    display: block; /* Mostramos solo la activa */
}

.carousel-slide img {
    width: 100%;
    height: auto; /* Mantiene la proporción en móvil y escritorio */
    display: block;
    object-fit: cover;
}

/* Animación Fade */
@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Botones del Carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--white);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer; /* Cursor normal para Login/Admin */
}

.custom-cursor-site .btn {
    cursor: none; /* Oculto en Index */
}

.btn:hover {
    background-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Botón Amarillo para sección Tractores */
.btn-yellow {
    background-color: #FFD700; /* Amarillo intenso */
    color: #000000 !important; /* Texto negro forzado */
    text-transform: uppercase; /* Mayúsculas */
    font-weight: 800; /* Letra extra gruesa */
    margin-top: 1rem; /* Móvil: Margen normal para que no se encime */
    border: 2px solid transparent; /* Para mantener tamaño al hover si quisieras borde */
}

.btn-yellow:hover {
    background-color: #FFC107; /* Un amarillo un poco más oscuro al pasar el mouse */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Botón Blanco para fondo naranja */
.btn-white {
    background-color: var(--white);
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-weight: 800;
    border: 2px solid var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white) !important;
}

/* --- Welcome Section (Bienvenida) --- */
.welcome-section {
    padding: 0;
}

.welcome-content {
    color: var(--white);
    padding: 3rem 1.5rem; /* Móvil: Padding reducido */
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .welcome-content {
        flex-direction: row;
        text-align: left;
        padding: 4rem 10%; /* Escritorio: Restauramos padding amplio */
    }
    
    .welcome-text {
        flex: 1;
        padding-right: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .welcome-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Restauramos tamaño de fuente grande en escritorio */
    .welcome-text h1 {
        font-size: 2.5rem;
    }
}

.welcome-text h1 {
    font-size: 1.8rem; /* Móvil: Fuente más pequeña, ahora aplicado al H1 */
    margin-bottom: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.2;
}

.welcome-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--white); /* Blanco puro para fondo naranja */
    text-align: justify;
}

.welcome-image img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)); /* Sombra para resaltar en naranja */
}

/* --- Tractores Section --- */
.tractores-section {
    background-color: var(--primary-color); /* Fondo Naranja */
    position: relative;
    padding-top: 4rem;
    /* El padding-bottom lo maneja la onda */
}

.tractores-content {
    color: var(--white);
    padding: 0 1.5rem 2rem 1.5rem; /* Móvil: Padding ajustado */
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10; /* Solución definitiva: Elevamos el contenedor sobre la onda */
}

@media (min-width: 768px) {
    .tractores-content {
        flex-direction: row;
        text-align: left;
        padding: 0 10% 0 10%; /* Escritorio: Restauramos padding original */
    }
    
    .tractores-text {
        flex: 1;
        padding-right: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* Alinea el botón a la izquierda en PC */
    }

    .tractores-text .btn-yellow {
        margin-top: -1.5rem; /* Escritorio: Aplicamos el margen negativo agresivo aquí */
        align-self: center; /* Centra el botón horizontalmente en el espacio naranja */
        margin-left: 2rem; /* Lo empujamos un poco a la derecha para centrarlo visualmente mejor */
    }
    
    .tractores-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 5; /* El tractor queda ENCIMA de la onda negra */
        transform: translateY(4vw); /* Bajamos el tractor para que se asiente sobre la onda */
    }

    /* Restauramos tamaño de fuente grande en escritorio */
    .tractores-text h2 {
        font-size: 2.5rem;
    }
}

.tractores-text h2 {
    font-size: 1.8rem; /* Móvil: Fuente más pequeña */
    margin-bottom: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.2;
}

.tractores-text p {
    margin-bottom: 1rem; /* Reducimos margen para compactar y subir el botón */
    font-size: 1rem;
    line-height: 1.8;
    color: var(--white);
    text-align: justify;
}

.tractores-image img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2)); /* Sombra suave para resaltar sobre naranja */
}

.wave-bottom {
    line-height: 0;
    width: 100%;
    margin-bottom: -1px; /* Evita líneas blancas finas */
    margin-top: -1px; /* Móvil: Sin margen negativo grande para evitar huecos blancos */
    position: relative;
    z-index: 1;
}

/* Regla específica para la onda en escritorio */
@media (min-width: 768px) {
    .wave-bottom {
        margin-top: -18vw; /* Escritorio: Restauramos el efecto de superposición */
    }
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Gallery Section (Nueva Sección) --- */
.gallery-section {
    background-color: var(--primary-color); /* Fondo Naranja */
    padding-bottom: 6rem;
    position: relative;
    z-index: 5;
}

/* Modificador para sección negra */
.black-section {
    background-color: #000000;
}

/* Modificador para onda naranja */
.wave-orange path {
    fill: var(--primary-color);
}

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-top svg {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-split-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    padding-top: 12vw; /* Revertido: Ajuste equilibrado para la onda */
    align-items: center;
    position: relative;
    z-index: 2;
}

.gallery-image-col {
    width: 100%;
    max-width: 600px;
}

.gallery-image-col img {
    width: 100%;
    height: auto;
}

.gallery-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
}

.gallery-logo {
    width: 100%;
    max-width: 350px;
}

.gallery-brands {
    width: 100%;
    max-width: 400px;
}

.gallery-message {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800; /* Letra extra gruesa */
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .gallery-split-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12vw 2rem 0 2rem; /* Revertido: Padding superior en escritorio */
    }

    .gallery-image-col {
        flex: 1;
    }

    .gallery-info-col {
        flex: 1;
        align-items: flex-start; /* Alinear a la izquierda en PC */
    }
    
    .gallery-logo, .gallery-brands, .gallery-message {
        margin-left: 0; /* Asegurar alineación izquierda */
        text-align: left;
    }
}

/* --- Contact Section --- */
.contact-section {
    padding-bottom: 6rem;
    background-color: var(--primary-color); /* Fondo Naranja */
    position: relative;
    z-index: 5;
}

.contact-section .container {
    padding-top: 12vw; /* Espacio para la onda superior */
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white); /* Título en blanco */
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--white); /* Etiquetas en blanco */
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    cursor: text; /* Cursor de texto normal para Login/Admin */
}

.custom-cursor-site .form-group input,
.custom-cursor-site .form-group textarea {
    cursor: none; /* Oculto en Index */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(240, 126, 25, 0.1);
}

/* --- Footer --- */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

/* --- Login y Panel de Administración --- */
.login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
}

.login-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-card h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.error-msg {
    color: red;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Panel de Administración */
.admin-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-responsive {
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-table th, 
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.admin-table tr:hover {
    background-color: #f9f9f9;
}

/* --- Estados del Admin --- */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background-color: #ffebee;
    color: #c62828;
}

.status-done {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.btn-action {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}

/* --- Toast Notification (Alertas bonitas) --- */
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px; /* Mitad del ancho para centrar */
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 16px;
    position: fixed;
    z-index: 2000;
    left: 50%;
    bottom: 30px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}


.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

.toast.success {
    background-color: #2e7d32; /* Verde éxito */
}

.toast.error {
    background-color: #c62828; /* Rojo error */
}


/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: scale(0.95); /* Zoom sutil en lugar de movimiento vertical */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: scale(1);
}

/* --- Cursor Personalizado --- */
.cursor-arrow {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-2px, -2px); /* Ajuste fino para la punta */
    transition: transform 0.15s ease;
}

.cursor-ripple {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
}

.cursor-ripple.active {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; border-width: 2px; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; border-width: 0px; }
}

/* Estado Hover (cuando pasas sobre un enlace) */
body.hovering .cursor-arrow {
    transform: translate(-2px, -2px) scale(1.2) rotate(-15deg); /* Se inclina un poco */
}

/* --- Paginación Admin --- */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination a:hover:not(.active) {
    background-color: #eee;
}

/* --- Admin Carousel Management --- */
.admin-section {
    margin-top: 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.carousel-upload-form {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.carousel-upload-form .form-group {
    margin-bottom: 1rem;
}

.carousel-upload-form label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.carousel-upload-form input[type="file"] {
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 6px;
    width: 100%;
}

.carousel-upload-form .btn {
    margin-top: 1rem;
}

.carousel-admin-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carousel-admin-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.admin-thumbnail {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.image-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.image-info span {
    font-weight: 600;
}

.image-info small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.btn-delete {
    color: #c62828; /* Rojo error */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-delete:hover {
    background-color: #ffebee; /* Fondo rojo claro */
    text-decoration: none;
}

/* --- Admin Carousel Drag & Drop --- */
.carousel-admin-list li {
    cursor: grab;
}

.carousel-admin-list li.sortable-ghost {
    opacity: 0.4;
    background: #f0f9ff; /* Un azul muy claro */
    border-style: dashed;
}

.carousel-admin-list li.sortable-chosen {
    cursor: grabbing;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
