:root {
    --primary-color: #ff9eb5; /* Rosa pastel */
    --secondary-color: #b8e0d2; /* Verde menta pastel */
    --accent-color: #ffacd1; /* Rosa claro */
    --text-color: #5e5e5e;
    --light-text: #888888;
    --success-color: #028d5a;
    --warning-color: #ff8839;
    --danger-color: #f15b54;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --body-bg: #fafafa;
    --header-bg: linear-gradient(135deg, #ff9eb5, #eac4d5);
    --pagination-bg: #ffffff;
    --category-bg: #f0f7f4;
    --theme-toggle-bg: #eac4d5;
    --theme-toggle-icon: #ffffff;
    --logo-border: #ffffff;
    --filter-bg: #f0f7f4;
    --filter-text: #5e5e5e;
    --footer-bg: #333333;
    --footer-text: #ffffff;
    --social-icon: #ffffff;
    --social-bg: #ff9eb5;
}

.dark-mode {
    --primary-color: #d8b4fe; /* Lila pastel */
    --secondary-color: #a5b4fc; /* Azul pastel */
    --accent-color: #857cff; /* Azul claro */
    --text-color: #e2e8f0;
    --light-text: #cbd5e1;
    --success-color: #86efac;
    --warning-color: #fcd34d;
    --danger-color: #fca5a5;
    --card-bg: #334155;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --body-bg: #1e293b;
    /*--header-bg: linear-gradient(135deg, #7e22ce, #a855f7);*/
    --header-bg: linear-gradient(135deg, #670966, #5E085D);
    --pagination-bg: #334155;
    --category-bg: #475569;
    --theme-toggle-bg: #a855f7;
    --theme-toggle-icon: #ffffff;
    --logo-border: #c7d2fe;
    --filter-bg: #475569;
    --filter-text: #e2e8f0;
    --footer-bg: #111827;
    --footer-text: #e5e7eb;
    --social-icon: #ffffff;
    --social-bg: #a855f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', 'Segoe UI', serif;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

body {
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
    background: var(--header-bg);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 3px solid var(--logo-border);
    margin-right: 15px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header-content {
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
}

.theme-toggle {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--theme-toggle-bg);
    color: var(--theme-toggle-icon);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 3;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Filtros */
.filters {
    background-color: var(--filter-bg);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--filter-text);
}

.filter-group input, 
.filter-group select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
}

.filter-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

.reset-filters {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reset-filters:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 158, 181, 0.1), rgba(184, 224, 210, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dark-mode .product-card::before {
    background: linear-gradient(135deg, rgba(216, 180, 254, 0.1), rgba(165, 180, 252, 0.1));
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dark-mode .product-image {
    background: #475569;
}

.product-image img {
    padding: 5px;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.product-info {
    padding: 20px;
}

.product-ref {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product-category {
    display: inline-block;
    background: var(--category-bg);
    color: var(--secondary-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-stock {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.stock-high {
    color: var(--success-color);
}

.stock-low {
    color: var(--warning-color);
}

.stock-none {
    color: var(--danger-color);
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-detail {
    background: var(--secondary-color);
    color: var(--text-color);
    flex: 1;
    margin-right: 10px;
    z-index:99999;
}

.btn-detail:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-cart {
    background: var(--accent-color);
    color: var(--text-color);
    width: 45px;
    z-index:99999;
}

.btn-cart:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-cart:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    color: #616161;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-item {
    list-style: none;
}

.page-link {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--pagination-bg);
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: all 0.3s ease;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.page-link.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--social-icon);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--social-bg);
}

.footer-column p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--social-bg);
}

.footer-links i {
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--social-bg);
    color: var(--social-icon);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Efectos especiales */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dark-mode .product-card::after {
    background: radial-gradient(circle at center, rgba(66, 66, 66, 0.3), rgba(66, 66, 66, 0));
}

.product-card:hover::after {
    opacity: 1;
}

/* Responsive */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    header {
        padding-top: 70px;
    }
    
    .theme-toggle {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-detail {
        margin-right: 0;
    }
    
    .logo {
        height: 60px;
        width: 60px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Estilos para el botón de favoritos */
.btn-favorite {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 3;
    color: var(--danger-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.dark-mode .btn-favorite {
    background: rgba(51, 65, 85, 0.8);
}

.btn-favorite:hover {
    transform: scale(1.1);
}

.btn-favorite.active {
    color: var(--danger-color);
    animation: pulse 0.5s ease;
}

.btn-favorite i {
    pointer-events: none;
}

/* Animación para el corazón */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Estilos para la notificación de favoritos */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Estilo para el contador de favoritos */
[data-favorite-counter] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

[data-favorite-counter] i {
    font-size: 0.9rem;
}

/* Modal mejorado */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    color: white;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    transition: transform 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-image-container {
    width: 100%;
    height: 300px;
    background: var(--body-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.modal-image-container img:hover {
    transform: scale(1.05);
}

.modal-info-container {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.modal-meta-item i {
    color: var(--primary-color);
}

.modal-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 10px 0;
}

.modal-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.modal-stock i {
    font-size: 0.9rem;
}

.modal-description {
    margin-top: 15px;
    line-height: 1.7;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-btn-primary {
    background: var(--accent-color);
    color: white;
}

.modal-btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
}

.modal-btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Efecto de zoom al abrir la imagen */
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive para el modal */
@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
    
    .modal-image-container {
        height: auto;
        flex: 1;
        min-height: 400px;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .modal-info-container {
        flex: 1;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-image-container {
        height: 250px;
    }
}

/* Estilos mejorados para botones del modal */
.modal-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-btn-primary:hover:not(:disabled) {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.modal-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.modal-btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.modal-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.modal-btn-secondary:active {
    transform: translateY(0);
}

/* Efecto de ripple para los botones */
.modal-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.modal-btn:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Botón de favoritos mejorado */
.modal-favorite-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    align-self: flex-start;
    font-weight: 600;
    color: var(--text-color);
}

.modal-favorite-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--danger-color);
}

.modal-favorite-btn.active {
    background: rgba(255, 0, 0, 0.05);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.modal-favorite-btn i {
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.modal-favorite-btn.active i {
    color: var(--danger-color);
    transform: scale(1.1);
}

/* Animación para el botón de favoritos */
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.favorite-animation {
    animation: heartBeat 0.6s ease;
}

/* Mejoras adicionales al modal */
.modal-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-modal {
    transition: all 0.2s ease;
    outline: none;
}

.close-modal:focus {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Notificaciones */
.construction-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--warning-color);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.construction-notification.fade-out {
    animation: slideOut 0.3s ease-in forwards;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Responsive para el modal */
@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}