/* Estilos generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f8ff; /* Azul cielo muy claro */
    color: #333;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
    color: #ff69b4; /* Rosa vibrante */
}

.cart-icon-container {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4500; /* Naranja rojizo vibrante */
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

#cart-button, #checkout-button, #close-cart {
    background-color: #8a2be2; /* Azul violeta */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#cart-button:hover, #checkout-button:hover, #close-cart:hover {
    background-color: #9370db; /* Tono más claro */
}

/* Estilos para el catálogo de productos y servicios */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.catalog-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.catalog-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.catalog-item h3 {
    color: #ff69b4; /* Rosa vibrante */
    margin-top: 10px;
    margin-bottom: 5px;
}

.catalog-item p {
    font-size: 14px;
    color: #666;
}

.catalog-item .price {
    font-weight: bold;
    color: #20b2aa; /* Turquesa vibrante */
    font-size: 18px;
    margin: 10px 0;
}

.add-to-cart-btn {
    background-color: #32cd32; /* Verde lima vibrante */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #3cb371; /* Un verde más oscuro */
}

/* Estilos para ocultar y mostrar secciones */
.hidden {
    display: none;
}
/* Estilos para el panel de administración */
#admin-panel {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.admin-form input, .admin-form button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
/* Estilos adicionales para el panel de administración */
#admin-panel {
    display: none;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.admin-form input, .admin-form textarea, .admin-form select {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#login-form {
    text-align: center;
}

#login-form input {
    width: 50%;
    margin-bottom: 10px;
}

#current-catalog .catalog-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

#current-catalog .catalog-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

#current-catalog .item-info {
    flex-grow: 1;
}

#current-catalog .item-actions button {
    margin-left: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    color: white;
}

.edit-btn {
    background-color: #8a2be2;
}

.delete-btn {
    background-color: #ff6347; /* Rojo coral */
}
/* Estilos para los botones de filtrado */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: transparent;
    color: #8a2be2; /* Violeta de tu tema */
    border: 2px solid #8a2be2;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background-color: #ff69b4; /* Rosa vibrante de tu tema */
    border-color: #ff69b4;
    color: white;
}
